From: bhutani.92 Date: Mon, 28 Nov 2016 14:07:54 +0000 (+0530) Subject: Fixed exception handling for sound player X-Git-Tag: submit/tizen_3.0/20161129.124714~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0fee37710f37eb56283e7e9a78634e5e6c97ac5;p=profile%2Fmobile%2Fapps%2Fnative%2Fmusic-player.git Fixed exception handling for sound player Change-Id: If4f1897123d57d6ae9fff5cb446ba1f7a0f86522 Signed-off-by: bhutani.92 --- diff --git a/src/common/mp-common.c b/src/common/mp-common.c index aeb2172..e1c1ae0 100755 --- a/src/common/mp-common.c +++ b/src/common/mp-common.c @@ -1652,6 +1652,9 @@ _mp_common_view_by_folder(const char *path, app_control_h app_control) mp_media_info_get_file_path(media, &file_path); i ++; DEBUG_TRACE("file path:%s", file_path); + if (!file_path) { + continue; + } folder_path = _get_folder_path(file_path); if (g_strcmp0(folder, folder_path)) { IF_FREE(folder_path);