Module: wine Branch: master Commit: f81862d41517646595df132130e1a4066f74cbc2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f81862d41517646595df13213...
Author: Gabriel Ivăncescu gabrielopcode@gmail.com Date: Wed Jun 24 17:16:46 2020 +0300
msscript.ocx: Fix detaching the script host 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
---
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 8b36f3af9a..fd2ada5708 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; }