projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SHELL32]
[reactos.git]
/
reactos
/
dll
/
win32
/
shell32
/
shellmenu
/
CMenuBand.cpp
diff --git
a/reactos/dll/win32/shell32/shellmenu/CMenuBand.cpp
b/reactos/dll/win32/shell32/shellmenu/CMenuBand.cpp
index
5f8fc3b
..
323e9a6
100644
(file)
--- a/
reactos/dll/win32/shell32/shellmenu/CMenuBand.cpp
+++ b/
reactos/dll/win32/shell32/shellmenu/CMenuBand.cpp
@@
-108,7
+108,8
@@
HRESULT STDMETHODCALLTYPE CMenuBand::GetMenuInfo(
if (ppsmc)
{
if (ppsmc)
{
- m_psmc->AddRef();
+ if (m_psmc)
+ m_psmc->AddRef();
*ppsmc = m_psmc;
}
*ppsmc = m_psmc;
}