forked from enlightenment/efl
parent
1e0f9c8885
commit
c8d152ef0a
|
@ -350,7 +350,6 @@ evas_object_smart_cleanup(Evas_Object *obj)
|
|||
obj->smart.parent = NULL;
|
||||
obj->smart.data = NULL;
|
||||
obj->smart.smart = NULL;
|
||||
if (s) evas_object_smart_unuse(s);
|
||||
}
|
||||
|
||||
/* all nice and private */
|
||||
|
|
|
@ -147,5 +147,5 @@ void
|
|||
evas_object_smart_unuse(Evas_Smart *s)
|
||||
{
|
||||
s->usage--;
|
||||
if (s->delete_me) evas_smart_free(s);
|
||||
if (!s->usage) evas_smart_free(s);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue