fix segv from efreet null return

SVN revision: 48521
This commit is contained in:
Mike Blumenkrantz 2010-05-01 20:12:01 +00:00
parent df86cee4f0
commit df335471fd
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ _begin_open_with(Evry_Plugin *plugin, const Evry_Item *item)
mime = file->mime;
}
if (!mime && !(mime = efreet_mime_type_get(path)))
if (!mime || !(mime = efreet_mime_type_get(path)))
return NULL;
p->apps_mime = efreet_util_desktop_mime_list(mime);