diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-06-28 18:57:21 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-06-28 18:57:21 +0200 |
commit | 376d5e521e2b77f892d10e744728882618330c8e (patch) | |
tree | 2fe6db153456a35c23c639528b4d5461696a862b /openbsc/src/gprs/gprs_sgsn.c | |
parent | a1d39a2a11adfbbcbcc8d98c2c136eebd099bfe0 (diff) |
[SGSN] Fix segfault ar PDP CTX DEACT time
We need to call rate_ctr_group_free() on the per-PDPctx-counters
Diffstat (limited to 'openbsc/src/gprs/gprs_sgsn.c')
-rw-r--r-- | openbsc/src/gprs/gprs_sgsn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_sgsn.c b/openbsc/src/gprs/gprs_sgsn.c index 9a76cee8e..ae18ea0fa 100644 --- a/openbsc/src/gprs/gprs_sgsn.c +++ b/openbsc/src/gprs/gprs_sgsn.c @@ -205,6 +205,7 @@ struct sgsn_pdp_ctx *sgsn_pdp_ctx_alloc(struct sgsn_mm_ctx *mm, void sgsn_pdp_ctx_free(struct sgsn_pdp_ctx *pdp) { + rate_ctr_group_free(pdp->ctrg); llist_del(&pdp->list); llist_del(&pdp->g_list); talloc_free(pdp); |