aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/bsc-nat/bsc_nat_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-27 11:18:41 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-27 11:18:41 +0100
commit9212d9d6364cfcd0ecd9255b9efaf03782bdf630 (patch)
treed0b8bc5715d895e3179568463f2f4b3d9ebe6c82 /openbsc/tests/bsc-nat/bsc_nat_test.c
parent9ec030d32da5426e184179c4867b01b910885dec (diff)
nat: Fix some corruption in the test case
Diffstat (limited to 'openbsc/tests/bsc-nat/bsc_nat_test.c')
-rw-r--r--openbsc/tests/bsc-nat/bsc_nat_test.c2
1 files changed, 2 insertions, 0 deletions
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);
}