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:
@@ -284,7 +284,11 @@ out:
|
|||||||
TRACE(("kmalloc: asked to allocate size %d, returning ptr = %p\n", size, address));
|
TRACE(("kmalloc: asked to allocate size %d, returning ptr = %p\n", size, address));
|
||||||
|
|
||||||
#if PARANOID_KMALLOC
|
#if PARANOID_KMALLOC
|
||||||
memset(address,0xCC,size);
|
memset(address, 0xCC, size);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if PARANOID_POINTER_CHECK
|
||||||
|
ptrchecklist_store(address);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if USE_WALL
|
#if USE_WALL
|
||||||
@@ -304,10 +308,6 @@ out:
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if PARANOID_POINTER_CHECK
|
|
||||||
ptrchecklist_store(address);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return address;
|
return address;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user