summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2011-11-03 11:15:10 +0000
committerBastien Nocera <hadess@hadess.net>2011-11-03 11:15:32 +0000
commitcef239d57a0c9d66adf2a14c0a82271ac534dc52 (patch)
tree79abf945b2958ff72ae242d0a770586395787c8e
parent22219f01347da094bdad02f704cfe04491dff767 (diff)
downloadgnome-settings-daemon-cef239d57a0c9d66adf2a14c0a82271ac534dc52.tar.gz
daemon: Plug a mem leak
==24418== 1 bytes in 1 blocks are definitely lost in loss record 32 of 10,009 ==24418== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==24418== by 0x4A62C3B: standard_malloc (gmem.c:88) ==24418== by 0x4A631B0: g_malloc (gmem.c:164) ==24418== by 0x4A7B3DB: g_strdup (gstrfuncs.c:100) ==24418== by 0x4A952CB: g_variant_dup_string (gvariant.c:1355) ==24418== by 0x490EDF0: g_settings_get_string (gsettings.c:1769) ==24418== by 0x804B38A: got_session_proxy (main.c:209) Bug #663239.
-rw-r--r--gnome-settings-daemon/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 651497a3..05044197 100644
--- a/gnome-settings-daemon/main.c
+++ b/gnome-settings-daemon/main.c
@@ -214,6 +214,7 @@ set_locale (GDBusProxy *proxy)
set_session_env (proxy, "LC_MONETARY", region);
set_session_env (proxy, "LC_MEASUREMENT", region);
}
+ g_free (region);
g_object_unref (locale_settings);
}