[evolution/wip/gsettings] Fix a memory leak



commit 698e3476e392ea52f95fcea1c899d1dfa6354e8d
Author: Milan Crha <mcrha redhat com>
Date:   Wed Apr 27 18:37:53 2011 +0200

    Fix a memory leak

 em-format/em-format.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/em-format/em-format.c b/em-format/em-format.c
index a4300a9..26f0897 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -241,6 +241,7 @@ emf_format_clone (EMFormat *emf,
 		emf->message = msg;
 	}
 
+	g_free (emf->current_message_part_id);
 	emf->current_message_part_id = g_strdup ("root-message");
 	g_string_truncate (emf->part_id, 0);
 	if (folder != NULL)



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