projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2125a91
)
adds missing NULL check in CPluginDirectory::SetSetting
author
Jonathan Marshall
<jmarshall@never.you.mind>
Fri, 4 Jan 2013 21:27:21 +0000
(10:27 +1300)
committer
S. Davilla
<davilla@4pi.com>
Sun, 6 Jan 2013 13:31:04 +0000
(08:31 -0500)
xbmc/filesystem/PluginDirectory.cpp
patch
|
blob
|
history
diff --git
a/xbmc/filesystem/PluginDirectory.cpp
b/xbmc/filesystem/PluginDirectory.cpp
index
9504956
..
b75b485
100644
(file)
--- a/
xbmc/filesystem/PluginDirectory.cpp
+++ b/
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);
}