---
src/gprs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gprs.c b/src/gprs.c
index 00f6d6d..f9e327a 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -865,6 +865,7 @@ static void pri_activate_callback(const struct ofono_error
*error, void *data)
telephony_error_to_str(error));
__ofono_dbus_pending_reply(&ctx->pending,
__ofono_error_failed(ctx->pending));
+ context_settings_free(ctx->context_driver->settings);
release_context(ctx);
return;
}
@@ -1841,6 +1842,7 @@ static void gprs_deactivate_for_remove(const struct
ofono_error *error,
return;
}
+ pri_reset_context_settings(ctx);
release_context(ctx);
if (gprs->settings) {
--
1.7.1
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono