Delete Leak, Task 10 is workgit add .!
This commit is contained in:
parent
651cc5c7d9
commit
bccb0a6617
44 changed files with 12 additions and 1124 deletions
|
|
@ -24,13 +24,12 @@ node * t10_solve (node *head)
|
|||
if (start) {
|
||||
delete_nodes(start->next, down+1);
|
||||
start->next = next;
|
||||
last = start;
|
||||
curr = start;
|
||||
} else {
|
||||
delete_nodes(head, down+1);
|
||||
head = next;
|
||||
last = NULL;
|
||||
curr = NULL;
|
||||
}
|
||||
curr = NULL;
|
||||
}
|
||||
down = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue