Skip to content

Commit 23a8237

Browse files
committed
Fixed no memory leak run
1 parent 1f767f4 commit 23a8237

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/runtime_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ bool memory_tracking = false;
1515
// Getting weird errors on MacOS when overriding operator new and delete,
1616
// so disable the memory leak checking for this platform.
1717
# define CHECK_MEMORY_LEAKS 0
18+
#else
19+
# define CHECK_MEMORY_LEAKS 1
1820
#endif
1921

2022
#if defined(CHECK_MEMORY_LEAKS) && CHECK_MEMORY_LEAKS

0 commit comments

Comments
 (0)