From 43dd34d8959d2cf0c77433a0f8e45a242b04bf6d Mon Sep 17 00:00:00 2001 From: vj586da Date: Fri, 5 Nov 2021 08:33:13 +0100 Subject: [PATCH] test --- cv4/a_train.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv4/a_train.c b/cv4/a_train.c index a4c58e5..f202840 100755 --- a/cv4/a_train.c +++ b/cv4/a_train.c @@ -79,7 +79,7 @@ struct car* clear_train(struct car* first, const char* target) { return this; }else if(strcmp(this->next->next->value, target) == 0){ free(this->next->next); - this->next=NULL; + this->next->next=NULL; return this; } return first;