From 2c6c2c90043d01cb3cbd994887e10de9144af0ff Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Tue, 3 Nov 2020 21:28:23 +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 df864c0..3056cd4 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -87,7 +87,7 @@ struct car* clear_train(struct car* first, const char* target) { this->next = NULL; //free(this->next); - return first; + return this; } this = this->next; }