ooh - freeing a smart multiple times - bad bad bad.

SVN revision: 26611
This commit is contained in:
Carsten Haitzler 2006-10-15 12:15:36 +00:00
parent fd41ddf197
commit 21e9758f0b
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ evas_object_smart_del(Evas_Object *obj)
Evas_Smart *s;
s = obj->smart.smart;
if (obj->delete_me) return;
if ((s) && (s->smart_class->del)) s->smart_class->del(obj);
if (obj->smart.parent) evas_object_smart_member_del(obj);
if (s) evas_object_smart_unuse(s);