aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-11-17 03:33:59 +0100
committerHarald Welte <laforge@gnumonks.org>2017-11-18 10:19:04 +0000
commit73a7435d28780b129a391002a366681c15aed2ef (patch)
treeed4bd30b688534b862b775f49b4c13d40312b295
parenta17ecfa7b174f0104ff124666706662dd88394b5 (diff)
xua_test: sanitize: fix msgb leak
-rw-r--r--tests/xua/xua_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/xua/xua_test.c b/tests/xua/xua_test.c
index 5a9d0ab..3e370fe 100644
--- a/tests/xua/xua_test.c
+++ b/tests/xua/xua_test.c
@@ -564,6 +564,9 @@ static void test_rkm(void)
OSMO_ASSERT(nested);
OSMO_ASSERT(xua_msg_get_u32(nested, M3UA_IEI_LOC_RKEY_ID) == 1);
OSMO_ASSERT(xua_msg_get_u32(nested, M3UA_IEI_DEST_PC) == 23);
+
+ talloc_free(nested);
+ talloc_free(xua);
}