From: Leena Gunda <[email protected]>

Below is patch for:
http://bugs.meego.com/show_bug.cgi?id=11764

Free the network path when removing the network.

---
 gsupplicant/supplicant.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 42f4920..74b026e 100644
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -422,6 +422,7 @@ static void remove_network(gpointer data)

        g_hash_table_destroy(network->config_table);

+       g_free(network->path);
        g_free(network->group);
        g_free(network->name);
        g_free(network);
-- 
1.7.2.2
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to