From 1753e0928db0e802c67bed7fbc262f54c84e9d03 Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Mon, 6 Oct 2014 20:06:30 +0100 Subject: [PATCH] cleanup empties the hash but does not remove the tree root, as this is removed in the destructor. --- src/hash/cleanup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hash/cleanup.c b/src/hash/cleanup.c index a0c6290..bfa9bfe 100644 --- a/src/hash/cleanup.c +++ b/src/hash/cleanup.c @@ -40,8 +40,6 @@ TR_hashCleanup(TR_Hash this) } else { TR_treeDestroy(this->tree, tDelete); } - - TR_delete(this->tree); } // vim: set ts=4 sw=4: