mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
fix unprotect of guard pages
This commit is contained in:
parent
37b43e4cea
commit
b8846f7a27
3 changed files with 8 additions and 3 deletions
|
@ -33,7 +33,7 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
// #define MI_SECURE 4 // checks for double free. (may be more expensive)
|
||||
|
||||
#if !defined(MI_SECURE)
|
||||
#define MI_SECURE 0
|
||||
#define MI_SECURE 4
|
||||
#endif
|
||||
|
||||
// Define MI_DEBUG for debug mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue