[evolution/webkit] Fix a memory leak



commit 2a195d5fc019f000b236882ef4d1bb54db7a6325
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]