mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Ensure GTree is consistent after _destroy()
See comment #9 on bug 587773
This commit is contained in:
parent
7d2bb5f1b1
commit
593ea5f6b0
@ -257,6 +257,8 @@ g_tree_remove_all (GTree *tree)
|
||||
node = next;
|
||||
}
|
||||
|
||||
tree->root = NULL;
|
||||
tree->nnodes = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user