large allocation should not be aligned to a page size

This commit is contained in:
Igor Sysoev 2009-11-16 12:47:44 +00:00
parent 3e1a05c467
commit ece77cd5be

View File

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