Missing attachment button for attachments of a known type

If there was a known formatter for the attachment's mime type, the attachment
content was shown inline, without the attachment button, instead of it being
shown collapsed and with the corresponding button. All that caused by a variable
overwrite and a related memory leak.
This commit is contained in:
Milan Crha
2014-03-14 14:19:39 +01:00
parent 9dab356554
commit 9cea547597

View File

@ -332,8 +332,6 @@ emfe_attachment_format (EMailFormatterExtension *extension,
size = g_memory_output_stream_get_data_size (
G_MEMORY_OUTPUT_STREAM (content_stream));
buffer = g_string_sized_new (size);
g_string_append_printf (
buffer,
"<tr><td colspan=\"2\">"