forked from enlightenment/efl
Evas smart clipped: Potentially fix memory leak as reported by raster.
Not really properly tested, sorry for that. SVN revision: 82271
This commit is contained in:
parent
f5a849a691
commit
af94656955
|
@ -110,11 +110,10 @@ evas_object_smart_clipped_smart_del(Evas_Object *eo_obj)
|
||||||
|
|
||||||
_evas_object_smart_members_all_del(eo_obj);
|
_evas_object_smart_members_all_del(eo_obj);
|
||||||
|
|
||||||
// BIG BIG BIG WARNING! withint this cso - anyone using the smart_clipped
|
/* If it's a legacy smart object, we should free the cso. */
|
||||||
// interface is leaking unless they are using eo! this here is an abi break!
|
if (!eo_isa(eo_obj, MY_CLASS))
|
||||||
// we NEED this free back, but there is a lot of surgery to do to make it
|
free(cso);
|
||||||
// able to go back in! mailing list discussion!
|
|
||||||
// free(cso);
|
|
||||||
evas_object_smart_data_set(eo_obj, NULL);
|
evas_object_smart_data_set(eo_obj, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue