aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hnbgw_hnbap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index fb59ad2..0b8e3e4 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -104,6 +104,10 @@ static int hnbgw_tx_ue_register_acc(struct ue_context *ue)
Criticality_reject,
&asn_DEF_UERegisterAccept,
&accept_out);
+
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING, &accept.uE_Identity.choice.iMSI);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_UERegisterAccept, &accept_out);
+
return hnbgw_hnbap_tx(ue->hnb, msg);
}