Commit 1753e0928db0e802c67bed7fbc262f54c84e9d03
1 parent
daaa2133
cleanup empties the hash but does not remove the tree root, as this is removed in the destructor.
Showing
1 changed file
with
0 additions
and
2 deletions
| @@ -40,8 +40,6 @@ TR_hashCleanup(TR_Hash this) | @@ -40,8 +40,6 @@ TR_hashCleanup(TR_Hash this) | ||
| 40 | } else { | 40 | } else { |
| 41 | TR_treeDestroy(this->tree, tDelete); | 41 | TR_treeDestroy(this->tree, tDelete); |
| 42 | } | 42 | } |
| 43 | - | ||
| 44 | - TR_delete(this->tree); | ||
| 45 | } | 43 | } |
| 46 | 44 | ||
| 47 | // vim: set ts=4 sw=4: | 45 | // vim: set ts=4 sw=4: |
Please
register
or
login
to post a comment