git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - VFS API Update - ReadDir caller provided buffer
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
heap.c
diff --git
a/KernelLand/Kernel/heap.c
b/KernelLand/Kernel/heap.c
index
4c7ffd9
..
af2bde4
100644
(file)
--- a/
KernelLand/Kernel/heap.c
+++ b/
KernelLand/Kernel/heap.c
@@
-153,8
+153,8
@@
void *Heap_Allocate(const char *File, int Line, size_t __Bytes)
size_t Bytes;
if( __Bytes == 0 ) {
-
//return NULL;
// TODO: Return a known un-mapped range.
-
return INVLPTR;
+
return NULL;
// TODO: Return a known un-mapped range.
+
//
return INVLPTR;
}
// Get required size
UCC
git Repository :: git.ucc.asn.au