From b0fee37710f37eb56283e7e9a78634e5e6c97ac5 Mon Sep 17 00:00:00 2001 From: "bhutani.92" Date: Mon, 28 Nov 2016 19:37:54 +0530 Subject: [PATCH] Fixed exception handling for sound player Change-Id: If4f1897123d57d6ae9fff5cb446ba1f7a0f86522 Signed-off-by: bhutani.92 --- src/common/mp-common.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.34.1