nat: Fix some corruption in the test case
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index 6a3b274..cd294cc 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -142,6 +142,11 @@
 	return conf;
 }
 
+void bsc_config_free(struct bsc_config *cfg)
+{
+	rate_ctr_group_free(cfg->stats.ctrg);
+}
+
 void bsc_config_add_lac(struct bsc_config *cfg, int _lac)
 {
 	struct bsc_lac_entry *lac;