aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-04-28 00:37:53 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:03 +0800
commit698e3476e392ea52f95fcea1c899d1dfa6354e8d (patch)
tree7a285fdba481f5356fba35bd618b05b711324964
parenta6ead3c4a0b080cf1be7a46b4f87e8a20e9f9349 (diff)
downloadgsoc2013-evolution-698e3476e392ea52f95fcea1c899d1dfa6354e8d.tar.gz
gsoc2013-evolution-698e3476e392ea52f95fcea1c899d1dfa6354e8d.tar.zst
gsoc2013-evolution-698e3476e392ea52f95fcea1c899d1dfa6354e8d.zip
Fix a memory leak
-rw-r--r--em-format/em-format.c1
1 files changed, 1 insertions, 0 deletions
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)