Author: gadamopoulos
Date: Fri Jul 29 12:03:20 2016
New Revision: 72045
URL:
http://svn.reactos.org/svn/reactos?rev=72045&view=rev
Log:
[SHELL32]
- CDefView: Add a missing error check.
CORE-11594
Modified:
trunk/reactos/dll/win32/shell32/CDefView.cpp
Modified: trunk/reactos/dll/win32/shell32/CDefView.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefView…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDefView.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDefView.cpp [iso-8859-1] Fri Jul 29 12:03:20 2016
@@ -2315,7 +2315,13 @@
else if (IsEqualIID(riid, IID_IDispatch))
{
if (m_pShellFolderViewDual == NULL)
+ {
hr = CDefViewDual_Constructor(riid,
(LPVOID*)&m_pShellFolderViewDual);
+ if (FAILED_UNEXPECTEDLY(hr))
+ {
+ return hr;
+ }
+ }
hr = m_pShellFolderViewDual->QueryInterface(riid, ppvOut);
}
break;