Skip to content
Snippets Groups Projects
Commit 08cdd05b authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

mshtml/tests: Release interface after successful QI.

parent fb630411
Branches
Tags
No related merge requests found
......@@ -2505,7 +2505,7 @@ static HRESULT WINAPI ActiveScript_SetScriptSite(IActiveScript *iface, IActiveSc
hres = IActiveScriptSite_QueryInterface(pass, &IID_IActiveScriptSiteInterruptPoll, (void**)&poll);
ok(hres == S_OK, "Could not get IActiveScriptSiteInterruptPoll interface: %08x\n", hres);
if(FAILED(hres))
if(SUCCEEDED(hres))
IActiveScriptSiteInterruptPoll_Release(poll);
hres = IActiveScriptSite_GetLCID(pass, &lcid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment