lets happy-lucky-fun calloc shall we? make sure our structs are 0.

SVN revision: 51554
This commit is contained in:
Carsten Haitzler 2010-08-22 22:51:46 +00:00
parent 1412fb1c94
commit e0e8a8eb42
1 changed files with 1 additions and 1 deletions

View 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;