laforge has submitted this change. ( 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: Idb77d3d7dc9db1076b110fb4d17c951b161e77e2 --- M src/ipa.c 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve
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;