network: Fix double free in network_destruct()
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 25 Jul 2011 14:24:36 +0000 (16:24 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 26 Jul 2011 06:52:33 +0000 (08:52 +0200)
src/network.c

index 4715a3ec91d4e86ab8a7511e3d1d77de523c4485..40ab8aacb8e6aea511e61035e280a84aa0ea9b60 100644 (file)
@@ -329,7 +329,6 @@ static void network_destruct(struct connman_network *network)
        g_free(network->node);
        g_free(network->name);
        g_free(network->identifier);
-       g_free(network->path);
 
        network->device = NULL;