From 1beb2632a0ce5acb1bb2df35a6fb0cc5d4ad83b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Mon, 13 Dec 2010 16:36:46 +0100 Subject: [PATCH] examples: fix double free() error in get-active-connections --- examples/C/get-active-connections.c | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/C/get-active-connections.c b/examples/C/get-active-connections.c index 689b7ff6e2..a605c2ac4b 100644 --- a/examples/C/get-active-connections.c +++ b/examples/C/get-active-connections.c @@ -212,7 +212,6 @@ get_active_connections (DBusGConnection *bus, DBusGProxy *proxy) /* And print out the details of each active connection */ for (i = 0; i < paths->len; i++) get_active_connection_details (bus, g_ptr_array_index (paths, i)); - g_ptr_array_free (paths, TRUE); out: g_value_unset (&value);