This commit is contained in:
Maryna Kravtsova 2020-11-03 22:17:33 +01:00
parent 1fc8770eab
commit 9b132a4720

View File

@ -97,7 +97,7 @@ struct car* clear_train(struct car* first, const char* target) {
}
prev->next = curr->next;
first->next = NULL:
first->next = NULL;
free(this);
}
this = this->next;