train2
This commit is contained in:
parent
5b3d26ec92
commit
7be122a19c
@ -39,7 +39,7 @@ void cancel_train(struct car* first) {
|
||||
}
|
||||
if(first->next == NULL){
|
||||
struct car *this = first;
|
||||
first = fitst->next;
|
||||
first = first->next;
|
||||
free(this);
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user