clear
This commit is contained in:
parent
d52508b100
commit
4050454880
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user