[SHELL32]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 21 Jun 2015 04:56:38 +0000 (04:56 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 21 Jun 2015 04:56:38 +0000 (04:56 +0000)
- Test your code, Arch! Fix another assertion failure.
CORE-9845 #resolve

svn path=/trunk/; revision=68217

reactos/include/reactos/shellutils.h

index cb12218..7291a76 100644 (file)
@@ -67,10 +67,8 @@ public:
                 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);
     }