mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
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:
parent
3df657f6fd
commit
34b41a70a6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user