msscript.ocx: Release the host ref in put_Language.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b34cd24f7d
commit
71d34fc43c
|
@ -1182,6 +1182,7 @@ static HRESULT WINAPI ScriptControl_put_Language(IScriptControl *iface, BSTR lan
|
||||||
|
|
||||||
if (This->host) {
|
if (This->host) {
|
||||||
release_modules(This);
|
release_modules(This);
|
||||||
|
IActiveScriptSite_Release(&This->host->IActiveScriptSite_iface);
|
||||||
This->host = NULL;
|
This->host = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue