From 5eeae75b21b89b2cb67be1904adc05042648c05a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sat, 10 Dec 2011 07:21:53 +0000 Subject: [PATCH] fix annoying spankies SVN revision: 66077 --- legacy/evas/src/lib/file/evas_path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/evas/src/lib/file/evas_path.c b/legacy/evas/src/lib/file/evas_path.c index ff13e2002f..c663c16faa 100644 --- a/legacy/evas/src/lib/file/evas_path.c +++ b/legacy/evas/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; }