UE Register: fix: free ies when no IMSI is found
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 @@
 		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;
 	}