mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-17 23:47:52 +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;
|
node = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tree->root = NULL;
|
||||||
|
tree->nnodes = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user