From c9b8643f6722ee34a0069293c8389fbbe4a8a7bf Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja@tarantool.org> Date: Thu, 16 Apr 2015 12:59:09 +0300 Subject: [PATCH] small: Add an initializer for delayed free list. --- src/lib/small/small.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/small/small.c b/src/lib/small/small.c index b065d52470..240f6239d6 100644 --- a/src/lib/small/small.c +++ b/src/lib/small/small.c @@ -141,6 +141,7 @@ small_alloc_create(struct small_alloc *alloc, struct slab_cache *cache, factor_tree_new(&alloc->factor_pools); (void) factor_pool_create(alloc, NULL, alloc->objsize_max); + lifo_init(&alloc->delayed); alloc->is_delayed_free_mode = false; } -- GitLab