[evolution] Missing attachment button for attachments of a known type
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Missing attachment button for attachments of a known type
- Date: Fri, 14 Mar 2014 13:23:00 +0000 (UTC)
commit 9cea5475976b74f3a0a937c578145a04161d7785
Author: Milan Crha <mcrha redhat com>
Date: Fri Mar 14 14:19:39 2014 +0100
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.
em-format/e-mail-formatter-attachment.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/em-format/e-mail-formatter-attachment.c b/em-format/e-mail-formatter-attachment.c
index c076d80..0a92157 100644
--- a/em-format/e-mail-formatter-attachment.c
+++ b/em-format/e-mail-formatter-attachment.c
@@ -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\">"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]