lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41306?usp=email )
Change subject: ipa: fix a minor memleak for unknown IPA packets ......................................................................
ipa: fix a minor memleak for unknown IPA packets
When the IPA protocol is unknown, the msg isn't freed. Change-Id: Ia7ab67a836ec139ef6ac3b900685335a8849c921
Change-Id: Idb77d3d7dc9db1076b110fb4d17c951b161e77e2 --- M src/ipa.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/06/41306/1
diff --git a/src/ipa.c b/src/ipa.c index 6c661a9..3b2b6da 100644 --- a/src/ipa.c +++ b/src/ipa.c @@ -355,6 +355,7 @@ break; default: rc = ss7_asp_rx_unknown(asp, hh->proto, msg); + msgb_free(msg); }
return rc;