mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 12:05:03 +00:00
examples: fix double free() error in get-active-connections
This commit is contained in:
parent
ca6e6b620d
commit
1beb2632a0
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue