mirror of
https://github.com/nginx/nginx.git
synced 2025-01-07 06:33:00 -06:00
aligned ngx_crc32_table_short was allocated from wrong pool
This commit is contained in:
parent
2f73f772f1
commit
3d0a7168a9
@ -256,10 +256,6 @@ main(int argc, char *const *argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (ngx_crc32_init(init_cycle.pool) != NGX_OK) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
environ = &ngx_null_environ;
|
||||
|
||||
ngx_max_module = 0;
|
||||
@ -287,6 +283,10 @@ main(int argc, char *const *argv)
|
||||
|
||||
ngx_os_status(cycle->log);
|
||||
|
||||
if (ngx_crc32_init(cycle->pool) != NGX_OK) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
ngx_cycle = cycle;
|
||||
|
||||
ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module);
|
||||
|
Loading…
Reference in New Issue
Block a user