fix multi-threaded free to unprotect guarded blocks

This commit is contained in:
daanx 2024-08-20 09:55:57 -07:00
parent 0c19eb60cf
commit 635cf7af6a
5 changed files with 44 additions and 20 deletions

View file

@ -74,7 +74,7 @@ terms of the MIT license. A copy of the license can be found in the file
// Use guard pages behind objects of a certain size
#define MI_DEBUG_GUARDED 1
#if defined(MI_DEBUG_GUARDED) || defined(MI_DEBUG_GUARDEDX)
#if defined(MI_DEBUG_GUARDED)
#define MI_PADDING 0
#endif