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

mshtml: Don't release the frame returned by get_frame_by_name.

It does *not* add a ref to the returned frame. Signed-off-by: 's avatarGabriel Ivăncescu <gabrielopcode@gmail.com>
parent bb82bc78
......@@ -3593,8 +3593,6 @@ static HRESULT WINAPI WindowDispEx_GetDispID(IDispatchEx *iface, BSTR bstrName,
if(SUCCEEDED(hres) && frame) {
global_prop_t *prop;
IHTMLWindow2_Release(&frame->base.IHTMLWindow2_iface);
prop = alloc_global_prop(window, GLOBAL_FRAMEVAR, bstrName);
if(!prop)
return E_OUTOFMEMORY;
......
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