nat: Fix some corruption in the test case
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c
index 1d9052d..3e943cf 100644
--- a/openbsc/tests/bsc-nat/bsc_nat_test.c
+++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -377,6 +377,7 @@
 	talloc_free(parsed);
 
 
+	bsc_config_free(con->cfg);
 	talloc_free(nat);
 	msgb_free(msg);
 }
@@ -548,6 +549,7 @@
 		abort();
 	}
 
+	bsc_config_free(bsc->cfg);
 	talloc_free(nat);
 }