-
Notifications
You must be signed in to change notification settings - Fork 732
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash introduced by commit 447e579
It is not possible to use `next[0]` as the next pointer for the free list since we use the `next[0]` when freeing nodes. However, we can simplify the existing code significantly by ditching the free list approach entirely and just using a recursive function to free the tree.
- Loading branch information
Showing
1 changed file
with
11 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters