add
This commit is contained in:
parent
61443227a5
commit
79ad11afe3
@ -46,6 +46,7 @@ void cancel_train(struct car* first) {
|
||||
else if(first->next != NULL){
|
||||
struct car* help = first->next;
|
||||
free(first);
|
||||
first->next = NULL;
|
||||
cancel_train(help);
|
||||
//first->next = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user