From c814aa614c78a6e6350f2380eb2e23dab6e0989e Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 27 Apr 2011 18:37:53 +0200 Subject: Fix a memory leak --- em-format/em-format.c | 1 + 1 file changed, 1 insertion(+) diff --git a/em-format/em-format.c b/em-format/em-format.c index a4300a979d..26f0897223 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) -- cgit v1.2.3