Shouldn't do anything so late; just fixed another bug in the wall code.
Commit early, commit often, they say... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1263 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a3da50e5ed
commit
3904aa6bf1
@ -284,7 +284,11 @@ out:
|
||||
TRACE(("kmalloc: asked to allocate size %d, returning ptr = %p\n", size, address));
|
||||
|
||||
#if PARANOID_KMALLOC
|
||||
memset(address,0xCC,size);
|
||||
memset(address, 0xCC, size);
|
||||
#endif
|
||||
|
||||
#if PARANOID_POINTER_CHECK
|
||||
ptrchecklist_store(address);
|
||||
#endif
|
||||
|
||||
#if USE_WALL
|
||||
@ -304,10 +308,6 @@ out:
|
||||
}
|
||||
#endif
|
||||
|
||||
#if PARANOID_POINTER_CHECK
|
||||
ptrchecklist_store(address);
|
||||
#endif
|
||||
|
||||
return address;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user