aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 772bf8053..49c48807b 100644
--- a/src/message.c
+++ b/src/message.c
@@ -517,7 +517,7 @@ convert_text_to_utf (struct worker_task *task, GByteArray * part_content, GMimeC
result_array = memory_pool_alloc (task->task_pool, sizeof (GByteArray));
result_array->data = res_str;
- result_array->len = write_bytes + 1;
+ result_array->len = write_bytes;
memory_pool_add_destructor (task->task_pool, (pool_destruct_func) g_free, res_str);
text_part->is_raw = FALSE;