diff options
author | Milan Crha <mcrha@redhat.com> | 2008-01-24 19:44:00 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-01-24 19:44:00 +0800 |
commit | ca1f7f332867fbcaf987703c063dd95a64186aa7 (patch) | |
tree | 31e205efa086a8abd4ab04a83d4a44807ee1cb6b /mail/em-format-html-display.c | |
parent | 4ed20e6ba0afa83a20cc12da9f2385c34b1931ff (diff) | |
download | gsoc2013-evolution-ca1f7f332867fbcaf987703c063dd95a64186aa7.tar.gz 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-html-display.c')
-rw-r--r-- | mail/em-format-html-display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index 6e0b0e759d..fa0c4fe620 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -2618,9 +2618,9 @@ efhd_format_optional(EMFormat *emf, CamelStream *fstream, CamelMimePart *part, C classid = g_strdup_printf("optional%s", emf->part_id->str); info = (struct _attach_puri *)em_format_add_puri(emf, sizeof(*info), classid, part, efhd_attachment_frame); em_format_html_add_pobject((EMFormatHTML *)emf, sizeof(EMFormatHTMLPObject), classid, part, efhd_attachment_optional); - info->handle = em_format_find_handler(emf, "text/plain");; + info->handle = em_format_find_handler(emf, "text/plain"); info->shown = FALSE; - info->snoop_mime_type = g_strdup("text/plain"); + info->snoop_mime_type = "text/plain"; info->attachment = e_attachment_new_from_mime_part (info->puri.part); info->mstream = (CamelStreamMem *)mstream; if (emf->valid) { |