aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-10-20 16:16:45 +0800
committerMilan Crha <mcrha@redhat.com>2011-10-20 16:16:45 +0800
commit31babe7961a6ef93419970a6d10c8843b671b466 (patch)
treed488d393207adb85aa5d9c8dcc83726df93f34ca /e-util
parentfbce8fba0c29ccd40e8952600532c75d6a9df476 (diff)
downloadgsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.tar
gsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.tar.gz
gsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.tar.bz2
gsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.tar.lz
gsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.tar.xz
gsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.tar.zst
gsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.zip
Bug #527614 - Valgrind shows a nice amount of lost memory
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-signature-list.c3
-rw-r--r--e-util/gconf-bridge.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/e-util/e-signature-list.c b/e-util/e-signature-list.c
index 1f03cd3305..037db0fa63 100644
--- a/e-util/e-signature-list.c
+++ b/e-util/e-signature-list.c
@@ -203,6 +203,9 @@ gconf_signatures_changed (GConfClient *client,
g_free (uid);
}
+ g_slist_foreach (list, (GFunc) g_free, NULL);
+ g_slist_free (list);
+
if (!have_autogen) {
new_sigs = add_autogen (signature_list, new_sigs);
resave = TRUE;
diff --git a/e-util/gconf-bridge.c b/e-util/gconf-bridge.c
index 3de48b6e01..7f479acf67 100644
--- a/e-util/gconf-bridge.c
+++ b/e-util/gconf-bridge.c
@@ -1042,6 +1042,7 @@ list_store_binding_sync_store_to_pref (ListStoreBinding *binding)
tmp_value = gconf_value_new (GCONF_VALUE_STRING);
gconf_value_set_string (tmp_value, string);
+ g_free (string);
list = g_slist_append (list, tmp_value);