From 4e605b32d49cffa4d82e6aa395415db558801293 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 29 Aug 2019 13:54:28 +0200 Subject: cosmetic: gtp: Improve documentation of gtp_delete_context_req2() Change-Id: I1f85c7cc7684e146fca4f17914927d45410dbb84 --- gtp/gtp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gtp/gtp.c b/gtp/gtp.c index ba248c6..88248d1 100644 --- a/gtp/gtp.c +++ b/gtp/gtp.c @@ -2427,8 +2427,9 @@ int gtp_delete_context_req(struct gsn_t *gsn, struct pdp_t *pdp, void *cbp, } /* API: Send Delete PDP Context Request. PDP CTX shall be free'd by user at any - point in time later than this function through a call to pdp_freepdp(pdp), but - it must be freed no later than during cb_conf(GTP_DELETE_PDP_REQ, pdp) */ + point in time later than this function through a call to pdp_freepdp(pdp) (or + through gtp_freepdp() if willing to receive cb_delete_context() callback), + but it must be freed no later than during cb_conf(GTP_DELETE_PDP_REQ, pdp) */ int gtp_delete_context_req2(struct gsn_t *gsn, struct pdp_t *pdp, void *cbp, int teardown) { -- cgit v1.2.3