diff options
Diffstat (limited to 'src/core/ngx_crc32.c')
-rw-r--r-- | src/core/ngx_crc32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_crc32.c b/src/core/ngx_crc32.c index ac375b06f..4ad8ff3a4 100644 --- a/src/core/ngx_crc32.c +++ b/src/core/ngx_crc32.c @@ -102,7 +102,7 @@ uint32_t *ngx_crc32_table_short = ngx_crc32_table16; ngx_int_t -ngx_crc32_init(ngx_pool_t *pool) +ngx_crc32_init(void) { void *p; @@ -113,7 +113,7 @@ ngx_crc32_init(ngx_pool_t *pool) return NGX_OK; } - p = ngx_palloc(pool, 16 * sizeof(uint32_t) + ngx_cacheline_size); + p = ngx_alloc(16 * sizeof(uint32_t) + ngx_cacheline_size, ngx_cycle->log); if (p == NULL) { return NGX_ERROR; } |