forked from enlightenment/efl
ooh - freeing a smart multiple times - bad bad bad.
SVN revision: 26611
This commit is contained in:
parent
fd41ddf197
commit
21e9758f0b
|
@ -388,6 +388,7 @@ evas_object_smart_del(Evas_Object *obj)
|
||||||
Evas_Smart *s;
|
Evas_Smart *s;
|
||||||
|
|
||||||
s = obj->smart.smart;
|
s = obj->smart.smart;
|
||||||
|
if (obj->delete_me) return;
|
||||||
if ((s) && (s->smart_class->del)) s->smart_class->del(obj);
|
if ((s) && (s->smart_class->del)) s->smart_class->del(obj);
|
||||||
if (obj->smart.parent) evas_object_smart_member_del(obj);
|
if (obj->smart.parent) evas_object_smart_member_del(obj);
|
||||||
if (s) evas_object_smart_unuse(s);
|
if (s) evas_object_smart_unuse(s);
|
||||||
|
|
Loading…
Reference in New Issue