Commit f81862d4 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

msscript.ocx: Fix detaching the script host in put_Language.

parent 16147694
......@@ -1203,8 +1203,8 @@ static HRESULT WINAPI ScriptControl_put_Language(IScriptControl *iface, BSTR lan
}
}
if (FAILED(hres)) {
This->host = NULL;
detach_script_host(This->host);
This->host = NULL;
}
return hres;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment