aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-04-28 00:39:16 +0800
committerMilan Crha <mcrha@redhat.com>2011-04-28 00:39:16 +0800
commitdfb01cd2594843d0c6be8873cd9a65117a3f0dd0 (patch)
tree7d133e25e9e188273c6c78a410e8595acf47fded
parent0d5a6a08215c8ceecf8626d8de99c3242db09d98 (diff)
downloadgsoc2013-evolution-dfb01cd2594843d0c6be8873cd9a65117a3f0dd0.tar
gsoc2013-evolution-dfb01cd2594843d0c6be8873cd9a65117a3f0dd0.tar.gz
gsoc2013-evolution-dfb01cd2594843d0c6be8873cd9a65117a3f0dd0.tar.bz2
gsoc2013-evolution-dfb01cd2594843d0c6be8873cd9a65117a3f0dd0.tar.lz
gsoc2013-evolution-dfb01cd2594843d0c6be8873cd9a65117a3f0dd0.tar.xz
gsoc2013-evolution-dfb01cd2594843d0c6be8873cd9a65117a3f0dd0.tar.zst
gsoc2013-evolution-dfb01cd2594843d0c6be8873cd9a65117a3f0dd0.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)