forked from enlightenment/efl
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:
parent
96ce456e19
commit
afb779bda5
|
@ -2017,12 +2017,11 @@ _edje_file_del(Edje *ed)
|
||||||
// fallthrough intentional
|
// fallthrough intentional
|
||||||
case EDJE_PART_TYPE_GROUP:
|
case EDJE_PART_TYPE_GROUP:
|
||||||
evas_object_del(rp->typedata.swallow->swallowed_object);
|
evas_object_del(rp->typedata.swallow->swallowed_object);
|
||||||
|
rp->typedata.swallow->swallowed_object = NULL;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
_edje_real_part_swallow_clear(ed, rp);
|
_edje_real_part_swallow_clear(ed, rp);
|
||||||
rp->typedata.swallow->swallowed_object = NULL;
|
|
||||||
}
|
}
|
||||||
free(rp->typedata.swallow);
|
free(rp->typedata.swallow);
|
||||||
rp->typedata.swallow = NULL;
|
rp->typedata.swallow = NULL;
|
||||||
|
|
Loading…
Reference in New Issue