diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-07-30 08:45:29 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-07-31 14:57:21 +0200 |
commit | 598e7b3cdf2d5b40ddb0081df72b413139cf0b71 (patch) | |
tree | 7df6a9ab8e3350aee39a0f027d5be834c834d1fa /hlrsync | |
parent | 92aa6bb9dc7b74a3b36a850012334d4ad3971a9b (diff) |
gprs_sgsn: In case of a Activate PDP Context timeout we should free pdp
In case of a failure this method didn't set the pctx->lib back to
NULL. In case of a timeout the callback will be made with pdp=NULL
and this would lead to leaking the PDP context. Check for the case
of having a pctx->lib != pdp and free it.
This resolves:
<000f> gprs_sgsn.c:259 freeing PDP context that still has a libgtp handle attached to it, this shouldn't happen!
Diffstat (limited to 'hlrsync')
0 files changed, 0 insertions, 0 deletions