[PATCH v2] scrobj/tests: Don't set site to NULL before it has been freed (Valgrind).

Sven Baars sven.wine at gmail.com
Mon Oct 21 07:18:26 CDT 2019


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
 dlls/scrobj/tests/scrobj.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/scrobj/tests/scrobj.c b/dlls/scrobj/tests/scrobj.c
index 023aa30f92..93779883fe 100644
--- a/dlls/scrobj/tests/scrobj.c
+++ b/dlls/scrobj/tests/scrobj.c
@@ -634,7 +634,6 @@ static HRESULT WINAPI ClassFactory_CreateInstance(IClassFactory *iface, IUnknown
     ok(!outer, "outer = %p\n", outer);
     ok(IsEqualGUID(&IID_IUnknown, riid), "unexpected riid %s\n", wine_dbgstr_guid(riid));
     *ppv = &ActiveScript;
-    site = NULL;
     return S_OK;
 }
 
-- 
2.17.1




More information about the wine-devel mailing list