summaryrefslogtreecommitdiff
path: root/src/malloc.c
diff options
context:
space:
mode:
authorKurausukun <lord.uber1@gmail.com>2021-07-03 17:02:32 -0400
committerKurausukun <lord.uber1@gmail.com>2021-07-03 17:02:32 -0400
commitee0f35b8663acc5c1e1eb28074ad5917783afd17 (patch)
tree499a69ff22940b4ef007464096ed1324d650b68b /src/malloc.c
parentcf64f773499b4380e930cf862fa4df668cd011e6 (diff)
parentbbf39b8560c752d6b7e94bf1fea9ac60dc79c902 (diff)
Merge branch 'master' of https://github.com/pret/pokefirered into ubfix
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)