clear
This commit is contained in:
parent
dbd2844ed5
commit
3ff32fafa1
@ -56,7 +56,6 @@ struct car* clear_train(struct car* first, const char* target) {
|
|||||||
int result = strcmp(first->value, target);
|
int result = strcmp(first->value, target);
|
||||||
if(result == 0){
|
if(result == 0){
|
||||||
free(first);
|
free(first);
|
||||||
free(first->value);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user