From 34b41a70a606c254fdfc12a570c4514a24f06793 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sat, 3 Dec 2016 10:01:03 +0300 Subject: Slab: always show the requested allocation size in debug messages. Previously, allocations smaller than min_size were shown as min_size. --- src/core/ngx_slab.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index 9d257f364..b2adbf423 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -184,7 +184,6 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size) slot = shift - pool->min_shift; } else { - size = pool->min_size; shift = pool->min_shift; slot = 0; } -- cgit