efreet: Check return value of eet_list

CID: #1039327
This commit is contained in:
Sebastian Dransfeld 2013-08-07 10:59:05 +02:00
parent 8327903b99
commit 9707fee051
1 changed files with 1 additions and 0 deletions

View File

@ -762,6 +762,7 @@ efreet_cache_icon_theme_list(void)
if (!efreet_cache_check(&icon_theme_cache, efreet_icon_theme_cache_file(), EFREET_ICON_CACHE_MAJOR)) return NULL;
keys = eet_list(icon_theme_cache, "*", &num);
if (!keys) return NULL;
for (i = 0; i < num; i++)
{
Efreet_Icon_Theme *theme;