diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-27 17:31:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-27 17:36:29 +0100 |
commit | b05c7c9edd197eea8aa11abcc416ea1463748f98 (patch) | |
tree | 06c165d661c28a1246cd23a3752bd172787701d7 /src/libserver/buffer.c | |
parent | bbdc006ee99784d31d4b1df3290f1a63fd4086e5 (diff) | |
download | rspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.tar.gz rspamd-b05c7c9edd197eea8aa11abcc416ea1463748f98.zip |
Add tags to rspamd_mempool.
Diffstat (limited to 'src/libserver/buffer.c')
-rw-r--r-- | src/libserver/buffer.c | 2 |
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)); |