From 397092d0a90214c72387d9e34056f174e0056f2c Mon Sep 17 00:00:00 2001 From: cedric Date: Tue, 26 Jun 2012 03:44:30 +0000 Subject: [PATCH] edje: destroy child and group correctly. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@72838 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/edje_load.c b/src/lib/edje_load.c index 8e93248..e6efc96 100644 --- a/src/lib/edje_load.c +++ b/src/lib/edje_load.c @@ -1139,7 +1139,6 @@ _edje_file_del(Edje *ed) } if (rp->swallowed_object) { - _edje_real_part_swallow_clear(rp); /* Objects swallowed by the app do not get deleted, but those internally swallowed (GROUP type) do. */ switch (rp->part->type) @@ -1153,6 +1152,7 @@ _edje_file_del(Edje *ed) default: break; } + _edje_real_part_swallow_clear(rp); rp->swallowed_object = NULL; } if (rp->items) -- 2.7.4