mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 05:33:52 -06:00
large allocation should not be aligned to a page size
This commit is contained in:
parent
3e1a05c467
commit
ece77cd5be
@ -219,7 +219,7 @@ ngx_palloc_large(ngx_pool_t *pool, size_t size)
|
||||
ngx_uint_t n;
|
||||
ngx_pool_large_t *large;
|
||||
|
||||
p = ngx_memalign(ngx_pagesize, size, pool->log);
|
||||
p = ngx_alloc(size, pool->log);
|
||||
if (p == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user