diff options
author | lloyd <[email protected]> | 2010-09-26 17:38:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-26 17:38:46 +0000 |
commit | 03af9ab3905ee9d667677e15f3245a1eda43e77d (patch) | |
tree | c3b584d67c8a88af6e82199c80aca78debc9bae0 /src/alloc/system_alloc | |
parent | 3181cda998fc96868efc17b9630fdd5dceff9404 (diff) |
Fix, wasn't returning pointer
Diffstat (limited to 'src/alloc/system_alloc')
-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; } /* |