diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-27 11:18:41 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-27 11:18:41 +0100 |
commit | 9212d9d6364cfcd0ecd9255b9efaf03782bdf630 (patch) | |
tree | d0b8bc5715d895e3179568463f2f4b3d9ebe6c82 /openbsc/src/nat/bsc_nat_utils.c | |
parent | 9ec030d32da5426e184179c4867b01b910885dec (diff) |
nat: Fix some corruption in the test case
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat_utils.c | 5 |
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; |