[evolution] Bug 628660 - em_format_part_as() memory leak



commit 5c7182a0a85b54920f333a9a035af1d293ab2247
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Sep 3 07:44:39 2010 -0400

    Bug 628660 - em_format_part_as() memory leak

 em-format/em-format.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 38a91b0..0dd45ef 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1405,6 +1405,8 @@ em_format_format_text (EMFormat *emf,
 
 	if (windows)
 		g_object_unref (windows);
+
+	g_object_unref (mem_stream);
 }
 
 /**



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