mirror of
https://github.com/nginx/nginx.git
synced 2024-12-24 08:00:14 -06:00
fix pcre allocation on Win32, the bug had been introduced in r3326
This commit is contained in:
parent
25622c2f92
commit
69061b73ef
@ -35,11 +35,9 @@ ngx_regex_malloc_init(ngx_pool_t *pool)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
ngx_pcre_pool = pool;
|
ngx_pcre_pool = pool;
|
||||||
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -55,11 +53,9 @@ ngx_regex_malloc_done(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
ngx_pcre_pool = NULL;
|
ngx_pcre_pool = NULL;
|
||||||
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user