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..