From 41b31dc58d035e20b00fbc62977ec67277f2ef34 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 20 Dec 2024 10:54:20 +0100 Subject: [BOX32] use malloc_trim when it gives non 32bits pointers --- src/mallochook.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/mallochook.c b/src/mallochook.c index 474972ee..ebd7a017 100644 --- a/src/mallochook.c +++ b/src/mallochook.c @@ -6,6 +6,7 @@ #include #include #include +#include #include "box64context.h" #include "debug.h" @@ -190,6 +191,7 @@ void* box32_calloc(size_t n, size_t s) void* ret = box_calloc(n, s); if(ret