diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-04-29 09:11:02 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-04-29 14:00:59 +0200 |
commit | d7b22c624bb04e585de4f06a3a32b98f45f7e4b8 (patch) | |
tree | d55fdd0f7461bc401b47a6a1eed99970355c81f5 /openbsc/include/openbsc/gsm_data.h | |
parent | 2bc90c274d58a1c1afcd7d8618a7af5e06208039 (diff) |
smpp: Attempt to fix a memory leak of the msgb
The smpp_pdu_rx method does not free the msgb. Introduce an
annotation (currently defined to nothing) to indicate what
will happen to a msgb.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index a4c6fbc68..d7db887ea 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -8,6 +8,9 @@ #include <openbsc/rest_octets.h> +/** annotations for msgb ownership */ +#define __uses + #define OBSC_NM_W_ACK_CB(__msgb) (__msgb)->cb[3] struct mncc_sock_state; |