aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r--openbsc/src/nat/bsc_nat_utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index 6a3b27466..cd294ccfb 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -142,6 +142,11 @@ struct bsc_config *bsc_config_alloc(struct bsc_nat *nat, const char *token)
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;