neels has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-hnbgw/+/32527 )

Change subject: fix asn1 leak in hnbgw_rua_rx()
......................................................................

fix asn1 leak in hnbgw_rua_rx()

Related: SYS#6297
Change-Id: I7392e0bb07c2cb02c1a12f8e19acb142cd101f77
---
M src/osmo-hnbgw/hnbgw_rua.c
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, approved
  msuraev: Looks good to me, but someone else must approve
  Jenkins Builder: Verified




diff --git a/src/osmo-hnbgw/hnbgw_rua.c b/src/osmo-hnbgw/hnbgw_rua.c
index 83410b9..5e68e32 100644
--- a/src/osmo-hnbgw/hnbgw_rua.c
+++ b/src/osmo-hnbgw/hnbgw_rua.c
@@ -536,6 +536,8 @@

        rc = _hnbgw_rua_rx(msg, pdu);

+       ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_RUA_RUA_PDU, pdu);
+
        return rc;
 }


--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/32527
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I7392e0bb07c2cb02c1a12f8e19acb142cd101f77
Gerrit-Change-Number: 32527
Gerrit-PatchSet: 2
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: msuraev <[email protected]>
Gerrit-Reviewer: neels <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to