fix: Removing debug prints.
This commit is contained in:
@@ -16,13 +16,10 @@ void set_ll_free_all(struct SETBlockMeta *head)
|
|||||||
{
|
{
|
||||||
while (head)
|
while (head)
|
||||||
{
|
{
|
||||||
printf("Some free.\n");
|
|
||||||
void *block_start = head;
|
void *block_start = head;
|
||||||
head = head->next;
|
head = head->next;
|
||||||
free(block_start);
|
free(block_start);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Some free.\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct SETBlockMeta *set_ll_free_one(struct SETBlockMeta *head, void *address)
|
struct SETBlockMeta *set_ll_free_one(struct SETBlockMeta *head, void *address)
|
||||||
|
@@ -52,8 +52,6 @@ void *set_malloc(size_t n)
|
|||||||
meta->next = NULL;
|
meta->next = NULL;
|
||||||
meta->prev = NULL;
|
meta->prev = NULL;
|
||||||
|
|
||||||
fprintf(stdout, "%s\n", "Some malloc");
|
|
||||||
|
|
||||||
if (block_meta_head == NULL)
|
if (block_meta_head == NULL)
|
||||||
{
|
{
|
||||||
meta->end = meta;
|
meta->end = meta;
|
||||||
|
Reference in New Issue
Block a user