Free gsupplicant network path when removing network
authorLeena Gunda <leena.gunda@wipro.com>
Wed, 29 Dec 2010 05:31:08 +0000 (11:01 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Dec 2010 07:08:55 +0000 (23:08 -0800)
gsupplicant/supplicant.c

index cc32d56..35a0e5a 100644 (file)
@@ -423,6 +423,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);