diff --git a/src/lib/evas/common/evas_image_load.c b/src/lib/evas/common/evas_image_load.c index f51ab01309..8e59bdd4b5 100644 --- a/src/lib/evas/common/evas_image_load.c +++ b/src/lib/evas/common/evas_image_load.c @@ -457,7 +457,8 @@ end: } if (!ie->f) return EVAS_LOAD_ERROR_DOES_NOT_EXIST; - if (stat(ie->file, &st) == 0) _timestamp_build(&(ie->tstamp), &st); + if ((ie->file) && (stat(ie->file, &st) == 0)) + _timestamp_build(&(ie->tstamp), &st); memset(&property, 0, sizeof (property)); property.w = ie->w;