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);