network: Fix reference leak of NetVirtualDevices

The only reference is owned by the devices GtkListStore.

https://bugzilla.gnome.org/show_bug.cgi?id=746411
This commit is contained in:
Bastien Nocera 2015-03-18 19:01:13 +01:00
parent eb14e558e5
commit a6781932e9

View file

@ -1219,6 +1219,7 @@ panel_add_virtual_device (CcNetworkPanel *panel, NMConnection *connection)
PANEL_DEVICES_COLUMN_OBJECT, net_virt,
-1);
g_free (title);
g_object_unref (net_virt);
}
static void