diff options
author | Leena Gunda <leena.gunda@wipro.com> | 2010-12-27 14:14:36 +0530 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-12-28 12:59:12 -0800 |
commit | f8ad37fc5beab0ffedcbc98de7dad4953e6c2701 (patch) | |
tree | d55c2f0bcb707963bead33846a921a127b195c85 /gsupplicant/supplicant.c | |
parent | 42ba5d5ff72df940e052b370678e7b0567e637f8 (diff) | |
download | connman-f8ad37fc5beab0ffedcbc98de7dad4953e6c2701.tar.gz connman-f8ad37fc5beab0ffedcbc98de7dad4953e6c2701.tar.bz2 connman-f8ad37fc5beab0ffedcbc98de7dad4953e6c2701.zip |
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.
Diffstat (limited to 'gsupplicant/supplicant.c')
-rw-r--r-- | gsupplicant/supplicant.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index 42f49203..cc32d569 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); |