clear
This commit is contained in:
parent
9b132a4720
commit
f5088bf6e8
@ -97,7 +97,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
prev->next = curr->next;
|
prev->next = curr->next;
|
||||||
first->next = NULL;
|
this->next = NULL;
|
||||||
free(this);
|
free(this);
|
||||||
}
|
}
|
||||||
this = this->next;
|
this = this->next;
|
||||||
|
Loading…
Reference in New Issue
Block a user