From: Marcel Holtmann Date: Fri, 18 Sep 2009 21:17:45 +0000 (-0700) Subject: Fix issue with not removing cellular configuration X-Git-Tag: 0.43~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=619a028e11eb416baaca5851633d5bcc4788a50a;p=platform%2Fupstream%2Fconnman.git Fix issue with not removing cellular configuration --- 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);