From 60d2efc74b4fe9d9dc907726040ea780bda4247f Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 3 May 2023 19:53:21 +0200 Subject: Disabling free hack on malloc_hack_2, it seems to break steam for now --- src/mallochook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mallochook.c b/src/mallochook.c index 62e14f3a..b33f2e3e 100644 --- a/src/mallochook.c +++ b/src/mallochook.c @@ -709,7 +709,7 @@ typedef struct simple_jmp_s { static void addRelocJmp(void* offs, void* where, size_t size, const char* name, elfheader_t* h) { - if(malloc_hack_2 && !strcmp(name, "free")) { + if(0 && malloc_hack_2 && !strcmp(name, "free")) { if(!real_free /*&& !strcmp(name, "free")*/) real_free = (uintptr_t)offs; // a bridge jump is roughly 32 bytes -- cgit 1.4.1