summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-01-05 12:14:41 +0000
committerTom Hacohen <tom@stosb.com>2013-01-05 12:14:41 +0000
commitaf9465695537e439312031a5e6acf15621de1c50 (patch)
tree717977d5eab5e896efe5a120066a8dc7eb147ebc /src
parentf5a849a6910586d5bb2baf2e92949859609d3ff5 (diff)
Evas smart clipped: Potentially fix memory leak as reported by raster.
Not really properly tested, sorry for that. SVN revision: 82271
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_object_smart_clipped.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/evas/canvas/evas_object_smart_clipped.c b/src/lib/evas/canvas/evas_object_smart_clipped.c
index fd8ebc0b10..677731bea1 100644
--- a/src/lib/evas/canvas/evas_object_smart_clipped.c
+++ b/src/lib/evas/canvas/evas_object_smart_clipped.c
@@ -110,11 +110,10 @@ evas_object_smart_clipped_smart_del(Evas_Object *eo_obj)
110 110
111 _evas_object_smart_members_all_del(eo_obj); 111 _evas_object_smart_members_all_del(eo_obj);
112 112
113// BIG BIG BIG WARNING! withint this cso - anyone using the smart_clipped 113 /* If it's a legacy smart object, we should free the cso. */
114// interface is leaking unless they are using eo! this here is an abi break! 114 if (!eo_isa(eo_obj, MY_CLASS))
115// we NEED this free back, but there is a lot of surgery to do to make it 115 free(cso);
116// able to go back in! mailing list discussion! 116
117// free(cso);
118 evas_object_smart_data_set(eo_obj, NULL); 117 evas_object_smart_data_set(eo_obj, NULL);
119} 118}
120 119