projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
769b35c
)
ecore: eina_iterator_free doesn't work on NULL iterator.
author
Cedric BAIL
<cedric.bail@free.fr>
Fri, 24 Feb 2012 16:53:51 +0000
(16:53 +0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Fri, 24 Feb 2012 16:53:51 +0000
(16:53 +0000)
SVN revision: 68424
legacy/ecore/src/lib/ecore_file/ecore_file.c
patch
|
blob
|
history
diff --git
a/legacy/ecore/src/lib/ecore_file/ecore_file.c
b/legacy/ecore/src/lib/ecore_file/ecore_file.c
index
cfbf2b5
..
cb03717
100644
(file)
--- a/
legacy/ecore/src/lib/ecore_file/ecore_file.c
+++ b/
legacy/ecore/src/lib/ecore_file/ecore_file.c
@@
-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;