summaryrefslogtreecommitdiff
path: root/src/alloc-override-osx.c
diff options
context:
space:
mode:
authorDaan Leijen <daan@microsoft.com>2021-06-17 19:15:09 -0700
committerDaan Leijen <daan@microsoft.com>2021-06-17 19:15:09 -0700
commita83bca72b3f98b55c564713176c40e44698e2c43 (patch)
tree44088df6c2007b98420da50109b09d1c5ea3f9be /src/alloc-override-osx.c
parentc8b5b745006a833189381eaab119df06bd1c8f44 (diff)
fixes for M1; disable interpose use zones; fix pedantic warnings
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 3a46ecd..f506d30 100644
--- a/src/alloc-override-osx.c
+++ b/src/alloc-override-osx.c
@@ -64,7 +64,7 @@ static void* zone_valloc(malloc_zone_t* zone, size_t size) {
static void zone_free(malloc_zone_t* zone, void* p) {
UNUSED(zone);
- return mi_free(p);
+ mi_free(p);
}
static void* zone_realloc(malloc_zone_t* zone, void* p, size_t newsize) {