From 3d3afdd225d6c005ef77565cbd483d59adb0fccf Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 21 Jun 2015 04:56:38 +0000 Subject: [PATCH] [SHELL32] - Test your code, Arch! Fix another assertion failure. CORE-9845 #resolve svn path=/trunk/; revision=68217 --- reactos/include/reactos/shellutils.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reactos/include/reactos/shellutils.h b/reactos/include/reactos/shellutils.h index cb122183d70..7291a76d56f 100644 --- a/reactos/include/reactos/shellutils.h +++ b/reactos/include/reactos/shellutils.h @@ -67,10 +67,8 @@ public: return hr; } if (InterlockedCompareExchangePointer((PVOID *)&s_pInstance, pObj, NULL)) - { static_cast(pObj)->Release(); - s_IsTerminated = false; - } + s_IsTerminated = false; } return s_pInstance->QueryInterface(riid, ppv); }