diff --git a/xbmc/windows/GUIMediaWindow.cpp b/xbmc/windows/GUIMediaWindow.cpp index b1672010a3ebf..52ff94dde2160 100644 --- a/xbmc/windows/GUIMediaWindow.cpp +++ b/xbmc/windows/GUIMediaWindow.cpp @@ -2195,7 +2195,7 @@ bool CGUIMediaWindow::GetDirectoryItems(CURL &url, CFileItemList &items, bool us } else if (!getItems.m_result) { - if (g_application.IsCurrentThread() && !m_rootDir.GetDirImpl()->ProcessRequirements()) + if (g_application.IsCurrentThread() && m_rootDir.GetDirImpl() && !m_rootDir.GetDirImpl()->ProcessRequirements()) { ret = false; }