prevent crash when realpath is null from setting a mount

SVN revision: 74912
This commit is contained in:
Mike Blumenkrantz 2012-08-06 08:55:28 +00:00
parent f20c591e7b
commit 0b1cb03a25
1 changed files with 1 additions and 0 deletions

View File

@ -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 (!sd->realpath) return;
if (!sd->mount || sd->mount->mounted)
{