Skip to content

Commit

Permalink
Merge pull request #14255 from Rechi/fix/vfsCrash
Browse files Browse the repository at this point in the history
[fix] check directory implementation for null
  • Loading branch information
notspiff committed Aug 2, 2018
2 parents 8384518 + 3894526 commit 72da4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/windows/GUIMediaWindow.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 72da4da

Please sign in to comment.