forked from enlightenment/efl
parent
c1dee13b8e
commit
786544b73d
|
@ -903,7 +903,10 @@ eina_file_stat_ls(const char *dir)
|
||||||
|
|
||||||
it = calloc(1, sizeof(Eina_File_Direct_Iterator) + length);
|
it = calloc(1, sizeof(Eina_File_Direct_Iterator) + length);
|
||||||
if (!it)
|
if (!it)
|
||||||
|
{
|
||||||
|
closedir(dirp);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
EINA_MAGIC_SET(&it->iterator, EINA_MAGIC_ITERATOR);
|
EINA_MAGIC_SET(&it->iterator, EINA_MAGIC_ITERATOR);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue