efreet: fix #534

SVN revision: 48110
This commit is contained in:
Sebastian Dransfeld 2010-04-18 20:04:09 +00:00
parent c3f93a9ebd
commit b5caf6ce1b
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ efreet_xml_new(const char *file)
char *data = MAP_FAILED;
if (!file) return NULL;
if (!ecore_file_exists(file)) return NULL;
size = ecore_file_size(file);
if (size <= 0) goto efreet_error;