forked from enlightenment/enlightenment
Tiling2: Fixed a bug in tree-walker.
This commit is contained in:
parent
dd7c25b506
commit
9831904a88
|
@ -7,6 +7,9 @@ tiling_window_tree_walk(Window_Tree *root, void (*func)(void *))
|
||||||
{
|
{
|
||||||
Eina_Inlist *itr_safe;
|
Eina_Inlist *itr_safe;
|
||||||
Window_Tree *itr;
|
Window_Tree *itr;
|
||||||
|
if (!root)
|
||||||
|
return;
|
||||||
|
|
||||||
EINA_INLIST_FOREACH_SAFE(root->children, itr_safe, itr)
|
EINA_INLIST_FOREACH_SAFE(root->children, itr_safe, itr)
|
||||||
{
|
{
|
||||||
tiling_window_tree_free(itr);
|
tiling_window_tree_free(itr);
|
||||||
|
|
Loading…
Reference in New Issue