null check before previewing mount points

SVN revision: 76854
This commit is contained in:
Mike Blumenkrantz 2012-09-19 12:37:48 +00:00
parent 9e9745812b
commit 07cec2cf57
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ _e_wid_fprev_preview_file(E_Widget_Data *wd)
E_Volume *v;
v = e_fm2_device_volume_find(file);
if (v)
if (v && v->mount_point)
{
if (statvfs(v->mount_point, &stfs) == 0)
{