fix evry app listing list leak

This commit is contained in:
Mike Blumenkrantz 2015-04-16 15:04:42 -04:00
parent 14f44ef6e3
commit 3c027f54b6
1 changed files with 2 additions and 2 deletions

View File

@ -455,14 +455,14 @@ _desktop_list_get(void)
{
Eina_List *apps = NULL;
Eina_List *cat_ss;
Eina_List *l, *ll;
Eina_List *ll;
Efreet_Desktop *d;
apps = efreet_util_desktop_name_glob_list("*");
/* remove screensaver */
cat_ss = efreet_util_desktop_category_list("Screensaver");
EINA_LIST_FOREACH (cat_ss, l, d)
EINA_LIST_FREE(cat_ss, d)
{
if ((ll = eina_list_data_find_list(apps, d)))
{