fix asn1 leak in hnbgw_rua_rx()

Related: SYS#6297
Change-Id: I7392e0bb07c2cb02c1a12f8e19acb142cd101f77
This commit is contained in:
Neels Hofmeyr 2023-04-27 05:19:14 +02:00 committed by neels
parent 0d2251ef7d
commit 3f92103c62
1 changed files with 2 additions and 0 deletions

View File

@ -536,6 +536,8 @@ int hnbgw_rua_rx(struct hnb_context *hnb, struct msgb *msg)
rc = _hnbgw_rua_rx(msg, pdu);
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_RUA_RUA_PDU, pdu);
return rc;
}