Display 6
This commit is contained in:
parent
a436c462c6
commit
00f70e2061
@ -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");
|
||||
}
|
Reference in New Issue
Block a user