aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-09-10 18:59:56 +0800
committerMilan Crha <mcrha@redhat.com>2014-09-10 18:59:56 +0800
commit137eee309f3d22a90b3dca086313f70224b0a510 (patch)
tree65e878e1b816d64246b740cd4b241373ad8d5877
parentb10ef4f2725440f51b9a1136781b42176abacde7 (diff)
downloadgsoc2013-evolution-137eee309f3d22a90b3dca086313f70224b0a510.tar
gsoc2013-evolution-137eee309f3d22a90b3dca086313f70224b0a510.tar.gz
gsoc2013-evolution-137eee309f3d22a90b3dca086313f70224b0a510.tar.bz2
gsoc2013-evolution-137eee309f3d22a90b3dca086313f70224b0a510.tar.lz
gsoc2013-evolution-137eee309f3d22a90b3dca086313f70224b0a510.tar.xz
gsoc2013-evolution-137eee309f3d22a90b3dca086313f70224b0a510.tar.zst
gsoc2013-evolution-137eee309f3d22a90b3dca086313f70224b0a510.zip
format_full_headers: Avoid possible memory leak
The variable could be allocated, but not always freed.
-rw-r--r--em-format/e-mail-formatter-headers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/em-format/e-mail-formatter-headers.c b/em-format/e-mail-formatter-headers.c
index 8ee6e38fc6..a16571de2b 100644
--- a/em-format/e-mail-formatter-headers.c
+++ b/em-format/e-mail-formatter-headers.c
@@ -467,11 +467,11 @@ format_full_headers (EMailFormatter *formatter,
g_string_append (buffer, "</td>");
g_object_unref (image_part);
- g_free (face_header_value);
}
g_string_append (buffer, "</tr></table>");
+ g_free (face_header_value);
g_object_unref (mime_part);
}