From b973955295b720b8ba7c556d0165750ed9bfb381 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 13 Feb 2010 01:37:36 +0100 Subject: [msc/nat] It is better to use msgb_free to free the msgb msgb_free is currently calling talloc_free but this might change in the future and then this code would break.. --- openbsc/src/bsc_msc_ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/bsc_msc_ip.c') diff --git a/openbsc/src/bsc_msc_ip.c b/openbsc/src/bsc_msc_ip.c index 4afed18f5..5e3831bd4 100644 --- a/openbsc/src/bsc_msc_ip.c +++ b/openbsc/src/bsc_msc_ip.c @@ -672,7 +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); + msgb_free(msg); return 0; } -- cgit v1.2.3