diff --git a/legacy/efreet/src/bin/efreet_icon_cache_create.c b/legacy/efreet/src/bin/efreet_icon_cache_create.c index abb76a5081..50d406a5ef 100644 --- a/legacy/efreet/src/bin/efreet_icon_cache_create.c +++ b/legacy/efreet/src/bin/efreet_icon_cache_create.c @@ -450,7 +450,7 @@ main(int argc, char **argv) /* No existing cache before, so create it */ if (!cache) { - cache = calloc(1, sizeof (Efreet_Cache_Theme)); + cache = NEW(Efreet_Cache_Theme, 1); if (!cache) goto on_error_efreet; cache->version.major = EFREET_CACHE_MAJOR; @@ -499,7 +499,7 @@ main(int argc, char **argv) /* No existing fallback, create it */ if (!cache) { - cache = calloc(1, sizeof (Efreet_Cache_Theme)); + cache = NEW(Efreet_Cache_Theme, 1); if (!cache) goto on_error_efreet; cache->version.major = EFREET_CACHE_MAJOR;