From f8ad37fc5beab0ffedcbc98de7dad4953e6c2701 Mon Sep 17 00:00:00 2001 From: Leena Gunda Date: Mon, 27 Dec 2010 14:14:36 +0530 Subject: [PATCH] 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. --- gsupplicant/supplicant.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.7.4