summaryrefslogtreecommitdiff
path: root/src/alloc-override-osx.c
diff options
context:
space:
mode:
authorDaan <daanl@outlook.com>2022-02-14 16:36:03 -0800
committerDaan <daanl@outlook.com>2022-02-14 16:36:03 -0800
commit19edc880dae1cd51381a4e59aae74ffd59a108cc (patch)
tree188c0bd1b927f36a135b5d284835b7dc578f1b00 /src/alloc-override-osx.c
parenta1310047c45dc5785e2a1f6e0507bc2f4c73ea9d (diff)
parent817569dfad79732233fb86649c89e04387ce02e9 (diff)
merge from dev
Diffstat (limited to 'src/alloc-override-osx.c')
-rw-r--r--src/alloc-override-osx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc-override-osx.c b/src/alloc-override-osx.c
index a88186b..9c331ca 100644
--- a/src/alloc-override-osx.c
+++ b/src/alloc-override-osx.c
@@ -43,7 +43,7 @@ extern malloc_zone_t* malloc_default_purgeable_zone(void) __attribute__((weak_im
static size_t zone_size(malloc_zone_t* zone, const void* p) {
MI_UNUSED(zone);
- //if (!mi_is_in_heap_region(p)){ return 0; } // not our pointer, bail out
+ if (!mi_is_in_heap_region(p)){ return 0; } // not our pointer, bail out
return mi_usable_size(p);
}