diff --git a/Commissions/flis/IMT/Case3/case3.c b/Commissions/flis/IMT/Case3/case3.c index 4b77b23..e39a82a 100644 --- a/Commissions/flis/IMT/Case3/case3.c +++ b/Commissions/flis/IMT/Case3/case3.c @@ -27,13 +27,13 @@ void free_all(struct Node* node) { }; for (int i = 0; i < 10; i++) { - free_all(node); + free_all(node->children[i]); }; free(node); } -int numbers[] = {113, 11354, 77777, 255044}; +int numbers[] = {11354, 113, 77777, 255044}; int main(void) { struct Node* root = newNode();