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.
This commit is contained in:
Carsten Haitzler 2019-01-09 17:53:10 +00:00
parent 96ce456e19
commit afb779bda5
1 changed files with 1 additions and 2 deletions

View File

@ -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;