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

jscript: Fix jsstr leak after changing variant type to BSTR.

Signed-off-by: 's avatarGabriel Ivăncescu <gabrielopcode@gmail.com> (cherry picked from commit 5ddeae6a)
parent ea4487fe
......@@ -947,6 +947,7 @@ HRESULT variant_change_type(script_ctx_t *ctx, VARIANT *dst, VARIANT *src, VARTY
break;
hres = jsstr_to_bstr(str, &V_BSTR(dst));
jsstr_release(str);
break;
}
case VT_EMPTY:
......
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