mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 08:10:17 +01: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),
|
||||
"proxy",
|
||||
info->proxy,
|
||||
g_object_ref (info->proxy));
|
||||
g_object_ref (info->proxy),
|
||||
g_object_unref);
|
||||
} else
|
||||
g_object_unref (connection);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue