Use convenience macro

SVN revision: 55140
This commit is contained in:
Sebastian Dransfeld 2010-12-02 08:33:18 +00:00
parent 5ad15a52b6
commit 09ef6eac04
1 changed files with 2 additions and 2 deletions

View File

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