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
@ -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…
Reference in New Issue
Block a user