edje: eo_data_unref the right data.

This commit is contained in:
Cedric BAIL 2014-11-07 07:59:50 +01:00
parent b97778a1c2
commit ce212de286
1 changed files with 2 additions and 2 deletions

View File

@ -34,10 +34,10 @@ _edje_object_eo_base_constructor(Eo *obj, Edje *ed)
} }
EOLIAN static void EOLIAN static void
_edje_object_eo_base_destructor(Eo *obj, Edje *class_data EINA_UNUSED) _edje_object_eo_base_destructor(Eo *obj, Edje *class_data)
{ {
eo_do_super(obj, MY_CLASS, eo_destructor()); eo_do_super(obj, MY_CLASS, eo_destructor());
eo_data_unref(obj, class_data); eo_data_unref(obj, class_data->base);
} }
EOLIAN static void EOLIAN static void