From 9b132a472010555597e013750fb07cacbaa6dedf Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Tue, 3 Nov 2020 22:17:33 +0100 Subject: [PATCH] clear --- cv5/a_train.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;