mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 14:13:41 +02:00
Ensure GTree is consistent after _destroy()
See comment #9 on bug 587773
This commit is contained in:
@@ -257,6 +257,8 @@ g_tree_remove_all (GTree *tree)
|
||||
node = next;
|
||||
}
|
||||
|
||||
tree->root = NULL;
|
||||
tree->nnodes = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user