AVLTreeMap::MakeEmpty should set fTree.fRoot to NULL

This commit is contained in:
Pawel Dziepak
2012-08-10 00:01:15 +02:00
parent ad5adda8e7
commit 1fdcaccf17
+1
View File
@@ -269,6 +269,7 @@ _AVL_TREE_MAP_CLASS_NAME::MakeEmpty()
{ {
AVLTreeNode* root = fTree.Root(); AVLTreeNode* root = fTree.Root();
_FreeTree(root); _FreeTree(root);
fTree.MakeEmpty();
} }