From e324f783e27144b92866f92976bc8a14cfc7ff0a Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 28 Jul 2009 13:28:24 -0400 Subject: [PATCH] Fix crash when nm-applet exits --- 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..07be3e3071 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);