From 619a028e11eb416baaca5851633d5bcc4788a50a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 18 Sep 2009 14:17:45 -0700 Subject: [PATCH] Fix issue with not removing cellular configuration --- src/service.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/service.c b/src/service.c index bacfa04..a9a534a 100644 --- a/src/service.c +++ b/src/service.c @@ -967,6 +967,17 @@ static DBusMessage *remove_service(DBusConnection *conn, passphrase_changed(service); + g_free(service->apn); + service->apn = NULL; + + g_free(service->username); + service->username = NULL; + + g_free(service->password); + service->password = NULL; + + apn_changed(service); + connman_service_set_favorite(service, FALSE); __connman_storage_save_service(service); -- 2.7.4