Author: tfaber
Date: Sun Jun 21 04:56:38 2015
New Revision: 68217
URL:
http://svn.reactos.org/svn/reactos?rev=68217&view=rev
Log:
[SHELL32]
- Test your code, Arch! Fix another assertion failure.
CORE-9845 #resolve
Modified:
trunk/reactos/include/reactos/shellutils.h
Modified: trunk/reactos/include/reactos/shellutils.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/shellutils…
==============================================================================
--- trunk/reactos/include/reactos/shellutils.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/shellutils.h [iso-8859-1] Sun Jun 21 04:56:38 2015
@@ -67,10 +67,8 @@
return hr;
}
if (InterlockedCompareExchangePointer((PVOID *)&s_pInstance, pObj,
NULL))
- {
static_cast<IUnknown *>(pObj)->Release();
- s_IsTerminated = false;
- }
+ s_IsTerminated = false;
}
return s_pInstance->QueryInterface(riid, ppv);
}