From 80c789cf3ada20f7fdf11bfc03df70ca69678a31 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Sat, 10 Dec 2011 07:21:53 +0000 Subject: [PATCH] fix annoying spankies git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66077 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/file/evas_path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/file/evas_path.c b/src/lib/file/evas_path.c index ff13e20..c663c16 100644 --- a/src/lib/file/evas_path.c +++ b/src/lib/file/evas_path.c @@ -123,7 +123,7 @@ evas_file_path_list(char *path, const char *match, int match_case) else files = eina_list_append(files, strdup(info->path + info->name_start)); } - eina_iterator_free(it); + if (it) eina_iterator_free(it); return files; } -- 2.7.4