From: Leena Gunda Date: Mon, 27 Dec 2010 08:44:36 +0000 (+0530) Subject: gsupplicant network_path not freed while removing interface X-Git-Tag: 2.0_alpha~1946 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8ad37fc5beab0ffedcbc98de7dad4953e6c2701;p=framework%2Fconnectivity%2Fconnman.git gsupplicant network_path not freed while removing interface Below is patch for: http://bugs.meego.com/show_bug.cgi?id=11763 Free the network path of the connected WiFi when removing the interface. --- diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index 42f4920..cc32d56 100644 --- a/gsupplicant/supplicant.c +++ b/gsupplicant/supplicant.c @@ -406,6 +406,7 @@ static void remove_interface(gpointer data) callback_interface_removed(interface); g_free(interface->path); + g_free(interface->network_path); g_free(interface->ifname); g_free(interface->driver); g_free(interface->bridge);