From bc8a55565b563d12329f76374304e4d2f612ebfc Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sun, 3 Jan 2016 19:19:38 -0800 Subject: [PATCH] fix mistake in location of return --- c/src/malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/src/malloc.c b/c/src/malloc.c index 30da5d632..2ca41b81a 100644 --- a/c/src/malloc.c +++ b/c/src/malloc.c @@ -79,9 +79,9 @@ void *AllocInternal(void *heapStart, u32 size) if (splitBlock->next != head) splitBlock->next->prev = splitBlock; - - return pos->data; } + + return pos->data; } }