summaryrefslogtreecommitdiff
path: root/src/malloc.c
diff options
context:
space:
mode:
authorKurausukun <lord.uber1@gmail.com>2021-07-03 16:57:44 -0400
committerKurausukun <lord.uber1@gmail.com>2021-07-03 16:57:44 -0400
commit85beaf7f82b9848cf21fe40b86a51027cd5fbbc1 (patch)
treee4c20560416857c59dcaa0a0bf1e8682b49f6707 /src/malloc.c
parent72fc4b6f844a47ac4711c421cc4e06e0197dc7c5 (diff)
parentbbf39b8560c752d6b7e94bf1fea9ac60dc79c902 (diff)
Merge branch 'master' of https://github.com/pret/pokefirered into cast_test
Diffstat (limited to 'src/malloc.c')
-rw-r--r--src/malloc.c4
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)