Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adds missing NULL check in CPluginDirectory::SetSetting

  • Loading branch information...
commit a2e3fe4e018bd50d4395aeca29a8d32cfce0d757 1 parent de8789a
Jonathan Marshall authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/filesystem/PluginDirectory.cpp
View
2  xbmc/filesystem/PluginDirectory.cpp
@@ -579,7 +579,7 @@ void CPluginDirectory::SetSetting(int handle, const CStdString &strID, const CSt
{
CSingleLock lock(m_handleLock);
CPluginDirectory *dir = dirFromHandle(handle);
- if(dir->m_addon)
+ if(dir && dir->m_addon)
dir->m_addon->UpdateSetting(strID, value);
}
Please sign in to comment.
Something went wrong with that request. Please try again.