Don't remove key from AVL node when deleting node from tree
authorHenning Rogge <hrogge@googlemail.com>
Tue, 20 Jul 2010 19:04:14 +0000 (21:04 +0200)
committerHenning Rogge <hrogge@googlemail.com>
Tue, 20 Jul 2010 19:04:14 +0000 (21:04 +0200)
src/common/avl.c

index 446ee30..cbf65b3 100644 (file)
@@ -368,7 +368,6 @@ avl_delete(struct avl_tree *tree, struct avl_node *node)
   }
 
   avl_remove(tree, node);
-  node->key = NULL;
 }
 
 static struct avl_node *