zatvorka navyse

This commit is contained in:
Valér Jakubčo 2021-11-04 20:33:06 +01:00
parent cf360c5edf
commit c849f88190

View File

@ -50,7 +50,7 @@ struct car* clear_train(struct car* first, const char* target) {
}else {
return first;
}
*/ }
}*/
while( this->next->next != NULL){
if(strcmp(this->next->value, target) == 0){
free(this->next);