Fixed jira issue and fixed prevent issue
[apps/osp/MusicPlayer.git] / src / MpUserPlaylistContentListForm.cpp
index 883f4d8..86d6dfe 100644 (file)
@@ -582,8 +582,11 @@ UserPlaylistContentListForm::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;
+                               }
                        }
                }
        }