summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_draw_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-03-02 02:10:48 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-03-02 02:10:48 +0000
commit70c60370cad72f21219aa26a4353775226af8f9f (patch)
treeb5b974aa39b9e6a25e87c06ee0524ca04caa38ad /legacy/evas/src/lib/engines/common/evas_draw_main.c
parent07a9e63cb4a32f73523228b68b7a1a45ec60b80b (diff)
ok use calloc - but.. i think llvm is wrong for:
http://people.profusion.mobi/~lfelipe/static_analysis/efl/efl-46715/evas/2010-03-01-1/report-wLmp95.html#EndPath i can't see how that can be garbage. SVN revision: 46764
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_draw_main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_draw_main.c b/legacy/evas/src/lib/engines/common/evas_draw_main.c
index 581e3971d1..7fe510cdb8 100644
--- a/legacy/evas/src/lib/engines/common/evas_draw_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_draw_main.c
@@ -11,11 +11,7 @@ evas_common_draw_context_cutouts_new(void)
11{ 11{
12 Cutout_Rects *rects; 12 Cutout_Rects *rects;
13 13
14 rects = malloc(sizeof(Cutout_Rects)); 14 rects = calloc(1, sizeof(Cutout_Rects));
15 rects->rects = NULL;
16 rects->active = 0;
17 rects->max = 0;
18
19 return rects; 15 return rects;
20} 16}
21 17