amend: Removing debug prints.
This commit is contained in:
@@ -27,8 +27,6 @@ struct SETBlockMeta *set_ll_free_one(struct SETBlockMeta *head, void *address)
|
|||||||
struct SETBlockMeta *meta =
|
struct SETBlockMeta *meta =
|
||||||
(struct SETBlockMeta *)(address - (sizeof(struct SETBlockMeta)));
|
(struct SETBlockMeta *)(address - (sizeof(struct SETBlockMeta)));
|
||||||
|
|
||||||
printf("Freeing: %p\n", meta);
|
|
||||||
|
|
||||||
if (meta->prev == NULL)
|
if (meta->prev == NULL)
|
||||||
{
|
{
|
||||||
struct SETBlockMeta *ret = meta->next;
|
struct SETBlockMeta *ret = meta->next;
|
||||||
|
@@ -64,8 +64,6 @@ void *set_malloc(size_t n)
|
|||||||
block_meta_head->end = meta;
|
block_meta_head->end = meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Allocating at address %p\n", blocks);
|
|
||||||
|
|
||||||
return blocks + sizeof(struct SETBlockMeta);
|
return blocks + sizeof(struct SETBlockMeta);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user