scrobj/tests: Don't set site to NULL before it has been freed (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fae51bd740
commit
dd9d2bdbbd
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue