mirror of
https://github.com/nginx/nginx.git
synced 2026-10-22 03:51:14 +00:00
large allocation should not be aligned to a page size
This commit is contained in:
parent
3e1a05c467
commit
ece77cd5be
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue