From 9212d9d6364cfcd0ecd9255b9efaf03782bdf630 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 27 Feb 2011 11:18:41 +0100 Subject: nat: Fix some corruption in the test case --- openbsc/tests/bsc-nat/bsc_nat_test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/tests') diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index 1d9052d6f..3e943cfe5 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -377,6 +377,7 @@ static void test_contrack() talloc_free(parsed); + bsc_config_free(con->cfg); talloc_free(nat); msgb_free(msg); } @@ -548,6 +549,7 @@ static void test_mgcp_ass_tracking(void) abort(); } + bsc_config_free(bsc->cfg); talloc_free(nat); } -- cgit v1.2.3