mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 21:52:41 +08: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;
|
slot = shift - pool->min_shift;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
size = pool->min_size;
|
|
||||||
shift = pool->min_shift;
|
shift = pool->min_shift;
|
||||||
slot = 0;
|
slot = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user