Fixed jira issue and fixed prevent issue
[apps/osp/MusicPlayer.git] / src / MpPlaylistContentListForm.cpp
index cf9e4d8..d13fdfb 100644 (file)
@@ -663,8 +663,11 @@ PlaylistContentListForm::RemoveCheckedTableviewItem(bool itemRemove)
                        {
                                __pContentListTableView->SetItemChecked(iCount, false);
                                ContentInformation* pContentInfo = __pPresentationModel->GetContentInfoN(iCount);
-                               RemoveContentAt(pContentInfo->contentId);
-                               delete pContentInfo;
+                               if (pContentInfo != null)
+                               {
+                                       RemoveContentAt(pContentInfo->contentId);
+                                       delete pContentInfo;
+                               }
                        }
                }
        }