mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Config: safety checks don't imply size checks.
The commit introducing size checks accidentally enabled them whenever any safety checks were on. This ends up causing the regression that splitting up the features was intended to avoid. Fix the issue.
This commit is contained in:
parent
8f9e958e1e
commit
9e18ae639f
1 changed files with 1 additions and 2 deletions
|
|
@ -185,8 +185,7 @@ static const bool config_opt_safety_checks =
|
|||
* general safety checks.
|
||||
*/
|
||||
static const bool config_opt_size_checks =
|
||||
#if defined(JEMALLOC_OPT_SIZE_CHECKS) || defined(JEMALLOC_OPT_SAFETY_CHECKS) \
|
||||
|| defined(JEMALLOC_DEBUG)
|
||||
#if defined(JEMALLOC_OPT_SIZE_CHECKS) || defined(JEMALLOC_DEBUG)
|
||||
true
|
||||
#else
|
||||
false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue