[PATCH v6 01/12] msscript.ocx: Fix detaching the script host in put_Language.
Gabriel Ivăncescu
gabrielopcode at gmail.com
Wed Jun 24 09:16:46 CDT 2020
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---
dlls/msscript.ocx/msscript.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msscript.ocx/msscript.c b/dlls/msscript.ocx/msscript.c
index 8b36f3a..fd2ada5 100644
--- a/dlls/msscript.ocx/msscript.c
+++ b/dlls/msscript.ocx/msscript.c
@@ -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;
}
--
2.21.0
More information about the wine-devel
mailing list