aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alloc/system_alloc/defalloc.cpp1
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;
}
/*