diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-17 17:45:05 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-17 17:45:05 +0000 |
commit | 0c445cda06d5e84d6181c65eb02b9b9953d0729b (patch) | |
tree | ead91a1ab469806f1f990cddc6e62925d1b8f191 /src/log_helper.c | |
parent | 658cbe75e6c54c1462f8a8f86df303c3b19e5fc1 (diff) | |
download | rspamd-0c445cda06d5e84d6181c65eb02b9b9953d0729b.tar.gz rspamd-0c445cda06d5e84d6181c65eb02b9b9953d0729b.zip |
[Fix] More random fixes for reload...
Diffstat (limited to 'src/log_helper.c')
-rw-r--r-- | src/log_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log_helper.c b/src/log_helper.c index 33a1a0ae5..974649d87 100644 --- a/src/log_helper.c +++ b/src/log_helper.c @@ -64,7 +64,7 @@ init_log_helper (struct rspamd_config *cfg) GQuark type; type = g_quark_try_string ("log_helper"); - ctx = g_malloc0 (sizeof (*ctx)); + ctx = rspamd_mempool_alloc (cfg->cfg_pool, sizeof (*ctx)); ctx->magic = rspamd_log_helper_magic; ctx->cfg = cfg; |