Slab: always show the requested allocation size in debug messages.

Previously, allocations smaller than min_size were shown as min_size.
This commit is contained in:
Ruslan Ermilov 2016-12-03 10:01:03 +03:00
parent 3df657f6fd
commit 34b41a70a6

View File

@ -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;
}