From b248c8c8ca60aefe0b670efcb7da1dc733985742 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 25 Apr 2016 14:51:27 +0200 Subject: UE Register: fix: free ies when no IMSI is found --- src/hnbgw_hnbap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/hnbgw_hnbap.c') 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; } -- cgit v1.2.3