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;

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41306?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Idb77d3d7dc9db1076b110fb4d17c951b161e77e2
Gerrit-Change-Number: 41306
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to