aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/mmaped_file.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-27 17:31:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-27 17:36:29 +0100
commitb05c7c9edd197eea8aa11abcc416ea1463748f98 (patch)
tree06c165d661c28a1246cd23a3752bd172787701d7 /src/libstat/backends/mmaped_file.c
parentbbdc006ee99784d31d4b1df3290f1a63fd4086e5 (diff)
downloadrspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.tar.gz
rspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.zip
Add tags to rspamd_mempool.
Diffstat (limited to 'src/libstat/backends/mmaped_file.c')
-rw-r--r--src/libstat/backends/mmaped_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/backends/mmaped_file.c b/src/libstat/backends/mmaped_file.c
index e0cb528e5..e8de381ad 100644
--- a/src/libstat/backends/mmaped_file.c
+++ b/src/libstat/backends/mmaped_file.c
@@ -848,7 +848,7 @@ rspamd_mmaped_file_init (struct rspamd_stat_ctx *ctx, struct rspamd_config *cfg)
gsize size;
new = rspamd_mempool_alloc0 (cfg->cfg_pool, sizeof (rspamd_mmaped_file_ctx));
- new->pool = rspamd_mempool_new (rspamd_mempool_suggest_size ());
+ new->pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), NULL);
new->lock = rspamd_mempool_get_mutex (new->pool);
new->mlock_ok = cfg->mlock_statfile_pool;
new->files = g_hash_table_new (g_direct_hash, g_direct_equal);