Darwin malloc_size override support proposal.
Darwin has similar api than Linux/FreeBSD's malloc_usable_size.
This commit is contained in:
@@ -69,7 +69,7 @@ malloc_mus_free(void) {
|
||||
test_fail("Unexpected malloc() failure");
|
||||
return;
|
||||
}
|
||||
malloc_usable_size(p);
|
||||
TEST_MALLOC_SIZE(p);
|
||||
free(p);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user