From 376d5e521e2b77f892d10e744728882618330c8e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 28 Jun 2010 18:57:21 +0200 Subject: [SGSN] Fix segfault ar PDP CTX DEACT time We need to call rate_ctr_group_free() on the per-PDPctx-counters --- openbsc/src/gprs/gprs_sgsn.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/src') 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); -- cgit v1.2.3