aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-24 19:44:00 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-24 19:44:00 +0800
commitca1f7f332867fbcaf987703c063dd95a64186aa7 (patch)
tree31e205efa086a8abd4ab04a83d4a44807ee1cb6b /mail/em-format.c
parent4ed20e6ba0afa83a20cc12da9f2385c34b1931ff (diff)
downloadgsoc2013-evolution-ca1f7f332867fbcaf987703c063dd95a64186aa7.tar
gsoc2013-evolution-ca1f7f332867fbcaf987703c063dd95a64186aa7.tar.gz
gsoc2013-evolution-ca1f7f332867fbcaf987703c063dd95a64186aa7.tar.bz2
gsoc2013-evolution-ca1f7f332867fbcaf987703c063dd95a64186aa7.tar.lz
gsoc2013-evolution-ca1f7f332867fbcaf987703c063dd95a64186aa7.tar.xz
gsoc2013-evolution-ca1f7f332867fbcaf987703c063dd95a64186aa7.tar.zst
gsoc2013-evolution-ca1f7f332867fbcaf987703c063dd95a64186aa7.zip
** Partial fix for bug #395939
2008-01-24 Milan Crha <mcrha@redhat.com> ** Partial fix for bug #395939 * em-format.c: (emf_inlinepgp_signed): * em-format-html-display.c: (efhd_format_optional): * em-folder-view.c: (emfv_destroy): Memory leak fix. svn path=/trunk/; revision=34881
Diffstat (limited to 'mail/em-format.c')
-rw-r--r--mail/em-format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-format.c b/mail/em-format.c
index 36177d7991..275211c2eb 100644
--- a/mail/em-format.c
+++ b/mail/em-format.c
@@ -1625,6 +1625,7 @@ emf_inlinepgp_signed(EMFormat *emf, CamelStream *stream, CamelMimePart *ipart, E
dw = camel_data_wrapper_new ();
camel_data_wrapper_construct_from_stream (dw, ostream);
camel_data_wrapper_set_mime_type (dw, type);
+ g_free (type);
opart = camel_mime_part_new ();
camel_medium_set_content_object ((CamelMedium *) opart, dw);