Display 6

This commit is contained in:
Jonathan Turner 2023-11-29 22:25:39 -05:00
parent a436c462c6
commit 00f70e2061

View File

@ -283,14 +283,14 @@ void begin_output_example() {
// print_list(umem_head, false);
// print_list(get_holes(umem_head), false);
// Display 6
// while (umem_head != NULL) {
// temp = umem_head->next;
// free_node(umem_head);
// umem_head = temp;
// }
// print_memory(umem_head, holes_head);
// // print_list(umem_head, false);
// // print_list(get_holes(umem_head), false);
// kprint("Jonathan Turner - S02");
Display 6
while (umem_head != NULL) {
temp = umem_head->next;
free_node(umem_head);
umem_head = temp;
}
print_memory(umem_head, holes_head);
// print_list(umem_head, false);
// print_list(get_holes(umem_head), false);
kprint("Jonathan Turner - S02");
}