aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/mem_pool_internal.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-23 15:54:19 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-23 15:54:19 +0000
commite6c42dc71175916c01074f5605afc5b3257fe725 (patch)
tree65fbd42960387d2eb9e908858965b7c0ce398d18 /src/libutil/mem_pool_internal.h
parent06b703488213c534f3430a03cd60952254e6b661 (diff)
downloadrspamd-e6c42dc71175916c01074f5605afc5b3257fe725.tar.gz
rspamd-e6c42dc71175916c01074f5605afc5b3257fe725.zip
[Project] Fix issues with mempool alloc/free
Diffstat (limited to 'src/libutil/mem_pool_internal.h')
-rw-r--r--src/libutil/mem_pool_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libutil/mem_pool_internal.h b/src/libutil/mem_pool_internal.h
index e7a5ecaf2..c96287a68 100644
--- a/src/libutil/mem_pool_internal.h
+++ b/src/libutil/mem_pool_internal.h
@@ -72,8 +72,7 @@ struct rspamd_mempool_specific {
struct _pool_chain {
guint8 *begin; /**< begin of pool chain block */
guint8 *pos; /**< current start of free space in block */
- gsize slice_size; /**< length of block */
- rspamd_mempool_mutex_t *lock;
+ gsize slice_size; /**< length of block */
struct _pool_chain *next;
};