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

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

parent 4e167e7e
......@@ -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