clear
This commit is contained in:
parent
d8e2d7f3e1
commit
2c6c2c9004
@ -87,7 +87,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
|||||||
this->next = NULL;
|
this->next = NULL;
|
||||||
//free(this->next);
|
//free(this->next);
|
||||||
|
|
||||||
return first;
|
return this;
|
||||||
}
|
}
|
||||||
this = this->next;
|
this = this->next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user