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);