diff --git a/cv5/a_train.c b/cv5/a_train.c index e1f1dbc..fe3ee11 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -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); }