improve double free detection with faster same page check

This commit is contained in:
daan 2019-12-28 15:28:13 -08:00
parent 77134e1ad0
commit fc3e537bd4
2 changed files with 12 additions and 16 deletions

View file

@ -29,7 +29,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