network: Fix reference leak of NetVpn
The only reference is owned by the devices GtkListStore. https://bugzilla.gnome.org/show_bug.cgi?id=746411
This commit is contained in:
parent
234ed23138
commit
eb14e558e5
1 changed files with 1 additions and 0 deletions
|
@ -1153,6 +1153,7 @@ panel_add_vpn_device (CcNetworkPanel *panel, NMConnection *connection)
|
||||||
PANEL_DEVICES_COLUMN_OBJECT, net_vpn,
|
PANEL_DEVICES_COLUMN_OBJECT, net_vpn,
|
||||||
-1);
|
-1);
|
||||||
g_free (title);
|
g_free (title);
|
||||||
|
g_object_unref (net_vpn);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue