From e4d03e1f9d83d4304a30b889f0de8a3be8223e79 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 30 Jul 2009 09:27:21 -0400 Subject: [PATCH] manager: fix crash when applets exit Due to bad refcounting of D-Bus proxies of the connections applets expose. --- src/nm-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nm-manager.c b/src/nm-manager.c index 731589c40a..22a563edb3 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -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);