clear
This commit is contained in:
parent
72699efb8a
commit
7acc6a327b
@ -86,6 +86,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
||||
if(x == 0){
|
||||
struct car* temp = this->next->next;
|
||||
this->next = NULL;
|
||||
free(this);
|
||||
//this->next = temp;
|
||||
return temp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user