# HG changeset patch # User Ruslan Ermilov # Date 1480748463 -10800 # Node ID 2af776c22aec42b8d16714ab3d008225362dd5c0 # Parent ea76a3aa18aee66cb3628a7e3306a47048382083 Slab: always show the requested allocation size in debug messages. Previously, allocations smaller than min_size were shown as min_size. diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c @@ -184,7 +184,6 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *p slot = shift - pool->min_shift; } else { - size = pool->min_size; shift = pool->min_shift; slot = 0; }