clear
This commit is contained in:
parent
d52508b100
commit
4050454880
@ -89,8 +89,8 @@ struct car* clear_train(struct car* first, const char* target) {
|
||||
return prev;
|
||||
|
||||
}
|
||||
free(prev->next);
|
||||
prev->next = NULL;
|
||||
//free(prev->next);
|
||||
//prev->next = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user