forked from starnakin/IronGOLEM
add: galloc: leak check
This commit is contained in:
@ -157,3 +157,8 @@ free(ptr)
|
||||
last_block = next_block;
|
||||
galloc_merge_blocks(first_block, last_block);
|
||||
}
|
||||
|
||||
leaks()
|
||||
{
|
||||
return (heap + LOCATION_NEXT != NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user