svn_merge_51554
authorsumanth.m <sumanth.m@samsung.com>
Tue, 28 Sep 2010 09:22:26 +0000 (14:52 +0530)
committersumanth.m <sumanth.m@samsung.com>
Tue, 28 Sep 2010 09:22:26 +0000 (14:52 +0530)
src/lib/cache/evas_cache_engine_image.c

index a629d42..ca71fe8 100644 (file)
@@ -197,7 +197,7 @@ evas_cache_engine_image_dup(const Evas_Cache_Engine_Image_Func *cb, Evas_Cache_E
 {
    Evas_Cache_Engine_Image     *new;
 
-   new = malloc(sizeof (Evas_Cache_Engine_Image));
+   new = calloc(1,sizeof (Evas_Cache_Engine_Image));
    if (!new)
      return NULL;