aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-09 17:53:10 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-09 18:57:22 +0000
commitafb779bda5d2cea7afd1df553913ecbe2b94541f (patch)
tree30eca577377464ccd0020e48e034b048153c7a4c /src/lib
parentledbus - fix codegen to not conflict keys with eldbus inyternal (diff)
downloadefl-afb779bda5d2cea7afd1df553913ecbe2b94541f.tar.gz
edje - stop trying to access ready deleted exrt/group swallow objects
_edje_real_part_swallow_clear() would try and manipulate already deleted group/external objects (not manually swallowed ones) thus causing safety noise. @fix.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/edje/edje_load.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index 3f4c871c59..e40e1b473a 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -2017,12 +2017,11 @@ _edje_file_del(Edje *ed)
// fallthrough intentional
case EDJE_PART_TYPE_GROUP:
evas_object_del(rp->typedata.swallow->swallowed_object);
-
+ rp->typedata.swallow->swallowed_object = NULL;
default:
break;
}
_edje_real_part_swallow_clear(ed, rp);
- rp->typedata.swallow->swallowed_object = NULL;
}
free(rp->typedata.swallow);
rp->typedata.swallow = NULL;