aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-04-28 00:37:53 +0800
committerMilan Crha <mcrha@redhat.com>2011-04-28 00:37:53 +0800
commitc814aa614c78a6e6350f2380eb2e23dab6e0989e (patch)
treed9bf8a7f5cb46a6a9ff98ff2e50c5017895ae9b5 /em-format
parent798daae58d040233e6c01dbe9ba8cd5251e096ed (diff)
downloadgsoc2013-evolution-c814aa614c78a6e6350f2380eb2e23dab6e0989e.tar.gz
gsoc2013-evolution-c814aa614c78a6e6350f2380eb2e23dab6e0989e.tar.zst
gsoc2013-evolution-c814aa614c78a6e6350f2380eb2e23dab6e0989e.zip
Fix a memory leak
Diffstat (limited to 'em-format')
-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)