From ca1f7f332867fbcaf987703c063dd95a64186aa7 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 24 Jan 2008 11:44:00 +0000 Subject: ** Partial fix for bug #395939 2008-01-24 Milan Crha ** 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 --- mail/em-format.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mail/em-format.c') 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); -- cgit v1.2.3