zase zatvorka

This commit is contained in:
Valér Jakubčo 2021-11-05 08:09:46 +01:00
parent 71d268bb3b
commit 93c8452d85

View File

@ -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){