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