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; }