summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/received_parser_bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/received_parser_bench.c b/utils/received_parser_bench.c
index 65c656741..4979d858a 100644
--- a/utils/received_parser_bench.c
+++ b/utils/received_parser_bench.c
@@ -43,7 +43,7 @@ rspamd_process_file (const gchar *fname)
g_io_channel_set_encoding (f, NULL, NULL);
buf = g_string_sized_new (8192);
- task = g_malloc0 (sizeof (task));
+ task = g_malloc0 (sizeof (*task));
task->task_pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), "test");
while (g_io_channel_read_line_string (f, buf, NULL, &err)