]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix addition to html tree.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 16 Jul 2015 13:51:30 +0000 (14:51 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 16 Jul 2015 13:51:30 +0000 (14:51 +0100)
src/libmime/message.c

index f48151d059fa149761cb2cd11e99e80ea52d47fe..ea437172f77723cbf7c84d6e68ee914fc7b2cede 100644 (file)
@@ -1131,7 +1131,7 @@ process_text_part (struct rspamd_task *task,
                                text_part->orig,
                                type,
                                text_part);
-               text_part->html = rspamd_mempool_alloc (task->task_pool,
+               text_part->html = rspamd_mempool_alloc0 (task->task_pool,
                                sizeof (*text_part->html));
                text_part->parent = parent;
                text_part->mime_part = mime_part;