This commit is contained in:
Maryna Kravtsova 2020-10-26 17:50:51 +01:00
parent 798696cff7
commit c61348f541

View File

@ -39,7 +39,7 @@ void cancel_train(struct car* first) {
}
else if(first->next == NULL){
free(first->next);
exit(0);
//exit(0);
}
cancel_train(first->next);
free(first);