train
This commit is contained in:
parent
ef3244ad56
commit
386b1cebca
@ -40,6 +40,7 @@ void cancel_train(struct car* first) {
|
||||
else if(first->next == NULL){
|
||||
free(first);
|
||||
first = NULL;
|
||||
exit(0);
|
||||
}
|
||||
cancel_train(first->next);
|
||||
free(first);
|
||||
|
Loading…
Reference in New Issue
Block a user