commit | 376d5e521e2b77f892d10e744728882618330c8e | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Mon Jun 28 18:57:21 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Jun 28 18:57:21 2010 +0200 |
tree | 2fe6db153456a35c23c639528b4d5461696a862b | |
parent | a1d39a2a11adfbbcbcc8d98c2c136eebd099bfe0 [diff] |
[SGSN] Fix segfault ar PDP CTX DEACT time We need to call rate_ctr_group_free() on the per-PDPctx-counters
diff --git a/openbsc/src/gprs/gprs_sgsn.c b/openbsc/src/gprs/gprs_sgsn.c index 9a76cee..ae18ea0 100644 --- a/openbsc/src/gprs/gprs_sgsn.c +++ b/openbsc/src/gprs/gprs_sgsn.c
@@ -205,6 +205,7 @@ 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);