ecore: eina_iterator_free doesn't work on NULL iterator.

SVN revision: 68424
This commit is contained in:
Cedric BAIL 2012-02-24 16:53:51 +00:00
parent 769b35c9c6
commit 4573b902e4
1 changed files with 2 additions and 0 deletions

View File

@ -821,6 +821,8 @@ ecore_file_ls(const char *dir)
Eina_List *list = NULL;
ls = eina_file_direct_ls(dir);
if (!ls) return NULL;
EINA_ITERATOR_FOREACH(ls, info)
{
char *f;