mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
[SGSN] Fix segfault ar PDP CTX DEACT time
We need to call rate_ctr_group_free() on the per-PDPctx-counters
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user