diff --git a/cv5/a_train.c b/cv5/a_train.c index 7ad32a8..022c7fb 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -97,7 +97,7 @@ struct car* clear_train(struct car* first, const char* target) { } prev->next = curr->next; - first->next = NULL: + first->next = NULL; free(this); } this = this->next;