diff options
-rw-r--r-- | src/alloc/system_alloc/defalloc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/alloc/system_alloc/defalloc.cpp b/src/alloc/system_alloc/defalloc.cpp index 596deb3d0..3161716b9 100644 --- a/src/alloc/system_alloc/defalloc.cpp +++ b/src/alloc/system_alloc/defalloc.cpp @@ -57,6 +57,7 @@ void* Malloc_Allocator::allocate(u32bit n) void* ptr = do_malloc(n, false); if(!ptr) throw Memory_Exhaustion(); + return ptr; } /* |