forked from enlightenment/enlightenment
prevent crash when realpath is null from setting a mount
SVN revision: 74912
This commit is contained in:
parent
f20c591e7b
commit
0b1cb03a25
|
@ -1075,6 +1075,7 @@ e_fm2_path_set(Evas_Object *obj, const char *dev, const char *path)
|
||||||
if ((m->volume->efm_mode != EFM_MODE_USING_HAL_MOUNT) && (!sd->mount->mounted)) return;
|
if ((m->volume->efm_mode != EFM_MODE_USING_HAL_MOUNT) && (!sd->mount->mounted)) return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!sd->realpath) return;
|
||||||
|
|
||||||
if (!sd->mount || sd->mount->mounted)
|
if (!sd->mount || sd->mount->mounted)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue