diff options
author | Patrick McHardy <kaber@trash.net> | 2010-11-22 01:53:18 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-11-22 16:04:21 +0100 |
commit | 642e927e21c5c09be6c9f4714328016dcc593557 (patch) | |
tree | 474951dd4ad67e1a5bd8192f9620e35b84a23e09 /include | |
parent | 360ca87ffc822d6d12362a9abd1c58abb2ca0949 (diff) |
dectmon: fix some memory leaks
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/cli.h | 1 | ||||
-rw-r--r-- | include/dectmon.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/cli.h b/include/cli.h index f288719..e34cc94 100644 --- a/include/cli.h +++ b/include/cli.h @@ -16,6 +16,7 @@ struct location { }; struct parser_state { + void *buffer_state; unsigned int lineno; unsigned int column; off_t token_offset; diff --git a/include/dectmon.h b/include/dectmon.h index a30b397..0b4f84c 100644 --- a/include/dectmon.h +++ b/include/dectmon.h @@ -34,6 +34,7 @@ struct dect_handle_priv { bool locked; struct dect_ari pari; + struct dect_fd *rawsk; struct list_head pt_list; struct dect_tbc *slots[DECT_FRAME_SIZE]; }; @@ -97,6 +98,8 @@ extern void dect_mac_co_data_ind(struct dect_handle *dh, enum dect_data_channels chan, struct dect_msg_buf *mb); +extern void dect_mac_dis_ind(struct dect_handle *dh, struct dect_mac_con *mc); + /* MAC */ struct dect_mbc { |