[network-manager-applet] gconf: fix missing GConf client unref
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] gconf: fix missing GConf client unref
- Date: Mon, 4 Apr 2011 21:53:06 +0000 (UTC)
commit d639be4e7073bc3e57a2611349ada376c7026a11
Author: Dan Williams <dcbw redhat com>
Date: Mon Apr 4 14:56:27 2011 -0500
gconf: fix missing GConf client unref
Interfering with the testcases.
src/gconf-helpers/gconf-helpers.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gconf-helpers/gconf-helpers.c b/src/gconf-helpers/gconf-helpers.c
index 38d6358..157979e 100644
--- a/src/gconf-helpers/gconf-helpers.c
+++ b/src/gconf-helpers/gconf-helpers.c
@@ -1765,6 +1765,8 @@ nm_gconf_move_connections_to_system (AddToSettingsFunc add_func, gpointer user_d
/* Update the applet GConf stamp */
if (stamp != APPLET_CURRENT_STAMP)
gconf_client_set_int (client, APPLET_PREFS_STAMP, APPLET_CURRENT_STAMP, NULL);
+
+ g_object_unref (client);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]