aboutsummaryrefslogtreecommitdiffstats
path: root/src/hnbgw_hnbap.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-25 14:51:27 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-25 15:34:28 +0200
commitb248c8c8ca60aefe0b670efcb7da1dc733985742 (patch)
treee859e72b6a144077b4e4aae09beab77c5285f82e /src/hnbgw_hnbap.c
parentf098c7abdad52b390c26da94a46c58d3dab1b833 (diff)
UE Register: fix: free ies when no IMSI is found
Diffstat (limited to 'src/hnbgw_hnbap.c')
-rw-r--r--src/hnbgw_hnbap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index 246c983..8a0bc9b 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -187,6 +187,7 @@ static int hnbgw_rx_ue_register_req(struct hnb_context *ctx, ANY_t *in)
LOGP(DHNBAP, LOGL_NOTICE, "UE-REGISTER-REQ without IMSI\n");
/* TODO: this is probably a TMSI registration. Store TMSIs
* and look them up to accept UE Registration. */
+ hnbap_free_ueregisterrequesties(&ies);
return -1;
}