aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gprs_gmm.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-07-14 12:04:04 +0200
committerHarald Welte <laforge@gnumonks.org>2012-07-14 12:17:42 +0200
commit7b022eed2d211eada63d2fe1f89b02455f501b9b (patch)
tree7c89c86a438326e876b4d60acf514a8163cacbb4 /openbsc/src/gprs/gprs_gmm.c
parent45f9171175fba99fff594465cb85d596212b5cac (diff)
add some comments regarding the free() / release of pdp contextx
It might be that we're deleting structures instead of properly cleaning up the attached libgtp handles...
Diffstat (limited to 'openbsc/src/gprs/gprs_gmm.c')
-rw-r--r--openbsc/src/gprs/gprs_gmm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c
index 0ed716290..72d9e764b 100644
--- a/openbsc/src/gprs/gprs_gmm.c
+++ b/openbsc/src/gprs/gprs_gmm.c
@@ -604,6 +604,9 @@ static int gsm48_rx_gmm_id_resp(struct sgsn_mm_ctx *ctx, struct msgb *msg)
ictx->p_tmsi, ctx->p_tmsi);
gprs_llgmm_assign(ictx->llme, ictx->tlli,
0xffffffff, GPRS_ALGO_GEA0, NULL);
+ /* FIXME: this is a hard free, we don't
+ * clean-up any PDP contexts on the
+ * libgtp side */
sgsn_mm_ctx_free(ictx);
}
}