diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-23 16:40:20 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-23 16:40:20 +0000 |
commit | 92abcea04fa67e69bb5951049e945356ceae4670 (patch) | |
tree | b147dbe79dcc74c729f61a9262dd638d68637bc5 /src/libserver/cfg_utils.c | |
parent | e6c42dc71175916c01074f5605afc5b3257fe725 (diff) | |
download | rspamd-92abcea04fa67e69bb5951049e945356ceae4670.tar.gz rspamd-92abcea04fa67e69bb5951049e945356ceae4670.zip |
[Project] Support mempool flags
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index ca5c71ea9..37a3d4578 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -133,7 +133,7 @@ rspamd_config_new (enum rspamd_config_init_flags flags) struct rspamd_config *cfg; rspamd_mempool_t *pool; - pool = rspamd_mempool_new (8 * 1024 * 1024, "cfg"); + pool = rspamd_mempool_new (8 * 1024 * 1024, "cfg", 0); cfg = rspamd_mempool_alloc0 (pool, sizeof (*cfg)); /* Allocate larger pool for cfg */ cfg->cfg_pool = pool; |