car
This commit is contained in:
parent
fdf9fe0917
commit
2c6b4d3778
@ -52,6 +52,7 @@ void cancel_train(struct car* first) {
|
|||||||
}
|
}
|
||||||
else if(first->next == NULL){
|
else if(first->next == NULL){
|
||||||
free(first);
|
free(first);
|
||||||
|
cancel_train(first->next);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user