[gnome-settings-daemon] daemon: Plug a mem leak
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] daemon: Plug a mem leak
- Date: Thu, 3 Nov 2011 11:16:13 +0000 (UTC)
commit cef239d57a0c9d66adf2a14c0a82271ac534dc52
Author: Christian Persch <chpe gnome org>
Date: Thu Nov 3 11:15:10 2011 +0000
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.
gnome-settings-daemon/main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 651497a..0504419 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]