mirror of git://git.sysmocom.de/ofono
gprs: make sure that the context is properly released
This commit is contained in:
parent
abd219c89f
commit
460040f427
|
@ -1635,6 +1635,9 @@ static void release_active_contexts(struct ofono_gprs *gprs)
|
|||
|
||||
if (gc->driver->detach_shutdown != NULL)
|
||||
gc->driver->detach_shutdown(gc, ctx->context.cid);
|
||||
|
||||
/* Make sure the context is properly cleared */
|
||||
release_context(ctx);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue