Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Ensure GTree is consistent after _destroy()
Browse files Browse the repository at this point in the history
See comment #9 on bug 587773
  • Loading branch information
allisonkarlitskaya committed Jul 7, 2009
1 parent 7d2bb5f commit 593ea5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glib/gtree.c
Expand Up @@ -257,6 +257,8 @@ g_tree_remove_all (GTree *tree)
node = next;
}

tree->root = NULL;
tree->nnodes = 0;
}

/**
Expand Down

0 comments on commit 593ea5f

Please sign in to comment.