mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 04:48:10 +02:00
manager: fix crash when applets exit
Due to bad refcounting of D-Bus proxies of the connections applets expose.
This commit is contained in:
parent
e5347169f6
commit
e4d03e1f9d
1 changed files with 2 additions and 2 deletions
|
|
@ -638,8 +638,8 @@ user_connection_get_settings_cb (DBusGProxy *proxy,
|
||||||
*/
|
*/
|
||||||
g_object_set_data_full (G_OBJECT (connection),
|
g_object_set_data_full (G_OBJECT (connection),
|
||||||
"proxy",
|
"proxy",
|
||||||
info->proxy,
|
g_object_ref (info->proxy),
|
||||||
g_object_ref (info->proxy));
|
g_object_unref);
|
||||||
} else
|
} else
|
||||||
g_object_unref (connection);
|
g_object_unref (connection);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue