diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-02 15:28:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-02 15:28:52 +0100 |
commit | 6ab17702cbe6089f8755c6573d5a94f1f6c21e3c (patch) | |
tree | 0a8ed861c7ee3d19973f379a83886802f283a037 /src/libstat/stat_process.c | |
parent | 40f832e8adbf639e7467ff6c436a54ac3dc43882 (diff) | |
download | rspamd-6ab17702cbe6089f8755c6573d5a94f1f6c21e3c.tar.gz rspamd-6ab17702cbe6089f8755c6573d5a94f1f6c21e3c.zip |
Removed by a mistake.
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r-- | src/libstat/stat_process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c index 7549bcce3..8ad320496 100644 --- a/src/libstat/stat_process.c +++ b/src/libstat/stat_process.c @@ -95,6 +95,7 @@ preprocess_init_stat_token (gpointer k, gpointer v, gpointer d) t->results = g_array_sized_new (FALSE, TRUE, sizeof (struct rspamd_token_result), cbdata->results_count); + g_array_set_size (t->results, cbdata->results_count); rspamd_mempool_add_destructor (cbdata->task->task_pool, rspamd_array_free_hard, t->results); |