fix mistake in location of return
This commit is contained in:
+1
-1
@@ -79,11 +79,11 @@ void *AllocInternal(void *heapStart, u32 size)
|
||||
|
||||
if (splitBlock->next != head)
|
||||
splitBlock->next->prev = splitBlock;
|
||||
}
|
||||
|
||||
return pos->data;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (pos->next == head)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user