- storage_get_misces_item()
Change-Id: I80d5e52f24d5c8ba614b7821e75822755e118777
Signed-off-by: jinwang.an <jinwang.an@samsung.com>
retv_if(NULL == media, true);
retv_if(NULL == data, false);
char *file_path = NULL;
- media_info_get_file_path(media, &file_path);
+ int ret = media_info_get_file_path(media, &file_path);
+ if (MEDIA_CONTENT_ERROR_NONE != ret) {
+ SETTING_TRACE_DEBUG("media_info_get_file_path() error : %s", get_error_message(ret));
+ return true;
+ }
if (!ecore_file_exists(file_path)) {
SETTING_TRACE_DEBUG("!ecore_file_exists(file_path)");
FREE(file_path);