projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d2bb5f
)
Ensure GTree is consistent after _destroy()
author
Ryan Lortie
<desrt@desrt.ca>
Tue, 7 Jul 2009 20:29:46 +0000
(21:29 +0100)
committer
Ryan Lortie
<desrt@desrt.ca>
Tue, 7 Jul 2009 20:29:46 +0000
(21:29 +0100)
See comment #9 on bug 587773
glib/gtree.c
patch
|
blob
|
history
diff --git
a/glib/gtree.c
b/glib/gtree.c
index
6fb2a9e
..
fd984ee
100644
(file)
--- a/
glib/gtree.c
+++ b/
glib/gtree.c
@@
-257,6
+257,8
@@
g_tree_remove_all (GTree *tree)
node = next;
}
+ tree->root = NULL;
+ tree->nnodes = 0;
}
/**