diff options
Diffstat (limited to 'src/libmime/mime_encoding.c')
-rw-r--r-- | src/libmime/mime_encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c index 5629e1ee4..6790cd8e6 100644 --- a/src/libmime/mime_encoding.c +++ b/src/libmime/mime_encoding.c @@ -209,7 +209,7 @@ rspamd_mime_text_part_maybe_convert (struct rspamd_task *task, GByteArray *result_array, *part_content; struct rspamd_mime_part *part = text_part->mime_part; - part_content = rspamd_mempool_alloc0 (sizeof (GByteArray)); + part_content = rspamd_mempool_alloc0 (task->task_pool, sizeof (GByteArray)); part_content->data = (guint8 *)text_part->parsed.begin; part_content->len = text_part->parsed.len; |