aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_object_smart_clipped.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-11-26 10:01:18 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-11-26 10:01:18 +0000
commitc75b63a482bdbf9302533a2e40e7bc4c641e8bc0 (patch)
tree3e3fec2200fcfd19d7ebd1e17019d94be26b8df2 /legacy/evas/src/lib/canvas/evas_object_smart_clipped.c
parentdeclare alloca() (diff)
downloadefl-c75b63a482bdbf9302533a2e40e7bc4c641e8bc0.tar.gz
evas -> use mempool for many objects and things. but.. disable it for
now. use old calloc+free thing for 1.0 and enable mpool for 1.1. this is just done in advance but disabled for some testing purposes looking for some bugs. SVN revision: 55006
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_object_smart_clipped.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_smart_clipped.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_smart_clipped.c b/legacy/evas/src/lib/canvas/evas_object_smart_clipped.c
index 5b5d578731..3357cb4074 100644
--- a/legacy/evas/src/lib/canvas/evas_object_smart_clipped.c
+++ b/legacy/evas/src/lib/canvas/evas_object_smart_clipped.c
@@ -67,7 +67,7 @@ evas_object_smart_clipped_smart_add(Evas_Object *obj)
cso = evas_object_smart_data_get(obj);
if (!cso)
- cso = malloc(sizeof(*cso)); /* users can provide it or realloc() later */
+ cso = calloc(1, sizeof(*cso)); /* users can provide it or realloc() later */
cso->evas = evas_object_evas_get(obj);
clipper = evas_object_rectangle_add(cso->evas);