diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-02-13 00:42:21 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-02-13 00:42:21 +0100 |
commit | 9d51a36528f514a655ea73288de1af1166d085e1 (patch) | |
tree | 42d04e7aea1513566e59eca2e63109cf399d24dc /openbsc/src/bsc_msc_ip.c | |
parent | ba3bbe55c15e7b97791c3fd27aea849bd81a3c5c (diff) |
[nat/bsc] Fix memory leak of IPA messages...
* The read_msg method is allocating the msgb and we will
need to free it once we are done with it.
Diffstat (limited to 'openbsc/src/bsc_msc_ip.c')
-rw-r--r-- | openbsc/src/bsc_msc_ip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/bsc_msc_ip.c b/openbsc/src/bsc_msc_ip.c index 518fbed26..4afed18f5 100644 --- a/openbsc/src/bsc_msc_ip.c +++ b/openbsc/src/bsc_msc_ip.c @@ -672,6 +672,7 @@ static int ipaccess_a_fd_cb(struct bsc_fd *bfd, unsigned int what) } else if (hh->proto == IPAC_PROTO_SCCP) sccp_system_incoming(msg); + talloc_free(msg); return 0; } |