clear
This commit is contained in:
parent
c73cf75196
commit
fdd693443e
@ -58,7 +58,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
||||
if(x == 0){
|
||||
if(first->next == NULL){
|
||||
free(first);
|
||||
return NULL:
|
||||
return NULL;
|
||||
}
|
||||
prev = first->next;
|
||||
free(first);
|
||||
|
Loading…
Reference in New Issue
Block a user