[evolution/email-factory-3-4: 12/53] Ported 31babe7961a6ef93419970a6d10c8843b671b466



commit 3f2e27953759e4e87977297c58d4124eb10971ea
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Mon Oct 31 12:41:49 2011 +0530

    Ported 31babe7961a6ef93419970a6d10c8843b671b466

 libemail-utils/e-signature-list.c |    3 +++
 libemail-utils/gconf-bridge.c     |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libemail-utils/e-signature-list.c b/libemail-utils/e-signature-list.c
index 1f03cd3..037db0f 100644
--- a/libemail-utils/e-signature-list.c
+++ b/libemail-utils/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/libemail-utils/gconf-bridge.c b/libemail-utils/gconf-bridge.c
index 3de48b6..7f479ac 100644
--- a/libemail-utils/gconf-bridge.c
+++ b/libemail-utils/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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]