This commit is contained in:
Maryna Kravtsova 2020-11-05 15:43:24 +01:00
parent d52508b100
commit 4050454880

View File

@ -89,8 +89,8 @@ struct car* clear_train(struct car* first, const char* target) {
return prev; return prev;
} }
free(prev->next); //free(prev->next);
prev->next = NULL; //prev->next = NULL;
} }