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
Added VFS_IOCtl, Implemented input in vterm
[tpg/acess2.git]
/
Kernel
/
heap.c
diff --git
a/Kernel/heap.c
b/Kernel/heap.c
index
fce510c
..
e5a3723
100644
(file)
--- a/
Kernel/heap.c
+++ b/
Kernel/heap.c
@@
-234,6
+234,9
@@
void free(void *Ptr)
tHeapHead *head;
tHeapFoot *foot;
+ LOG("Ptr = %p", Ptr);
+ LOG("Returns to %p", __builtin_return_address(0));
+
// Alignment Check
if( (Uint)Ptr & (sizeof(Uint)-1) ) {
Warning("free - Passed a non-aligned address (%p)\n", Ptr);
UCC
git Repository :: git.ucc.asn.au