From 642e927e21c5c09be6c9f4714328016dcc593557 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Mon, 22 Nov 2010 01:53:18 +0100 Subject: dectmon: fix some memory leaks Signed-off-by: Patrick McHardy --- include/cli.h | 1 + include/dectmon.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') 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 { -- cgit v1.2.3