summaryrefslogtreecommitdiffstats
path: root/test/rspamd_test_suite.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 /test/rspamd_test_suite.c
parentbbdc006ee99784d31d4b1df3290f1a63fd4086e5 (diff)
downloadrspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.tar.gz
rspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.zip
Add tags to rspamd_mempool.
Diffstat (limited to 'test/rspamd_test_suite.c')
-rw-r--r--test/rspamd_test_suite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c
index c1a2e27f5..8e092fd84 100644
--- a/test/rspamd_test_suite.c
+++ b/test/rspamd_test_suite.c
@@ -17,12 +17,12 @@ main (int argc, char **argv)
rspamd_main = (struct rspamd_main *)g_malloc (sizeof (struct rspamd_main));
memset (rspamd_main, 0, sizeof (struct rspamd_main));
- rspamd_main->server_pool = rspamd_mempool_new (rspamd_mempool_suggest_size ());
+ rspamd_main->server_pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), NULL);
rspamd_main->cfg = (struct rspamd_config *)g_malloc (sizeof (struct rspamd_config));
cfg = rspamd_main->cfg;
memset (cfg, 0, sizeof (struct rspamd_config));
rspamd_init_cfg (cfg, FALSE);
- cfg->cfg_pool = rspamd_mempool_new (rspamd_mempool_suggest_size ());
+ cfg->cfg_pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), NULL);
cfg->log_type = RSPAMD_LOG_CONSOLE;
cfg->log_level = G_LOG_LEVEL_INFO;