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:
parent
eb14e558e5
commit
a6781932e9
1 changed files with 1 additions and 0 deletions
|
@ -1219,6 +1219,7 @@ panel_add_virtual_device (CcNetworkPanel *panel, NMConnection *connection)
|
||||||
PANEL_DEVICES_COLUMN_OBJECT, net_virt,
|
PANEL_DEVICES_COLUMN_OBJECT, net_virt,
|
||||||
-1);
|
-1);
|
||||||
g_free (title);
|
g_free (title);
|
||||||
|
g_object_unref (net_virt);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue