From b1b6f0142213d1bff08f42cb1125a78f1ea67456 Mon Sep 17 00:00:00 2001 From: The Arrayser <68914060+TheArrayser@users.noreply.github.com> Date: Sat, 27 Aug 2022 19:55:26 +0200 Subject: [PATCH] long clap --- System Abstraction/win32/cdb_memroy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System Abstraction/win32/cdb_memroy.c b/System Abstraction/win32/cdb_memroy.c index 15a2861..b458493 100644 --- a/System Abstraction/win32/cdb_memroy.c +++ b/System Abstraction/win32/cdb_memroy.c @@ -8,7 +8,7 @@ void * sus_heapAlloc(size_t bytes){ // returns NULL, if there is no memroy left or an error occured void * sus_heapResize(void * memroy, size_t newBytes){ - HeapReAlloc(GetProcessHeap(), 0, memroy, newBytes); + return HeapReAlloc(GetProcessHeap(), 0, memroy, newBytes); } // what should this function do, if an error occurse..