diff options
author | Kurausukun <lord.uber1@gmail.com> | 2021-06-26 22:42:11 -0400 |
---|---|---|
committer | Kurausukun <lord.uber1@gmail.com> | 2021-06-26 22:42:11 -0400 |
commit | 23bc333bc73388fc7bf927485790877d659b1676 (patch) | |
tree | 8f8228a93fbe16061be1656167fc1ca4aab49b14 /src/malloc.c | |
parent | 8116790c0880cbe03e8d14efe88bf6000f283819 (diff) |
fix alloc and alloczeroed
Diffstat (limited to 'src/malloc.c')
-rw-r--r-- | src/malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/malloc.c b/src/malloc.c index 590d45c05..260c41d0d 100644 --- a/src/malloc.c +++ b/src/malloc.c @@ -192,12 +192,12 @@ void InitHeap(void *heapStart, u32 heapSize) void *Alloc(u32 size) { - AllocInternal(sHeapStart, size); + return AllocInternal(sHeapStart, size); } void *AllocZeroed(u32 size) { - AllocZeroedInternal(sHeapStart, size); + return AllocZeroedInternal(sHeapStart, size); } void Free(void *pointer) |