From 93c8452d8533ba89923c8703cd9524de3a552f54 Mon Sep 17 00:00:00 2001 From: vj586da Date: Fri, 5 Nov 2021 08:09:46 +0100 Subject: [PATCH] zase zatvorka --- 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 185da4e..5ed5772 100755 --- a/cv4/a_train.c +++ b/cv4/a_train.c @@ -56,7 +56,7 @@ struct car* clear_train(struct car* first, const char* target) { //strcpy(this->value,this->next->value); //this->next=NULL; free(this); - this=this->next + this=this->next; //free(this->next); return this; }else if(strcmp(this->next->value, target) == 0){