aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/buffer.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/libserver/buffer.c
parentbbdc006ee99784d31d4b1df3290f1a63fd4086e5 (diff)
downloadrspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.tar.gz
rspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.zip
Add tags to rspamd_mempool.
Diffstat (limited to 'src/libserver/buffer.c')
-rw-r--r--src/libserver/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/buffer.c b/src/libserver/buffer.c
index f67eacbe0..7c0311e5b 100644
--- a/src/libserver/buffer.c
+++ b/src/libserver/buffer.c
@@ -603,7 +603,7 @@ rspamd_create_dispatcher (struct event_base *base,
new = g_slice_alloc0 (sizeof (rspamd_io_dispatcher_t));
- new->pool = rspamd_mempool_new (rspamd_mempool_suggest_size ());
+ new->pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), NULL);
if (tv != NULL) {
new->tv = rspamd_mempool_alloc (new->pool, sizeof (struct timeval));
memcpy (new->tv, tv, sizeof (struct timeval));