Gabriel Ivăncescu : mshtml: Don't release the frame returned by get_frame_by_name.
Module: wine Branch: master Commit: 6a1b12bd8ffca9c16177aac01ac5370f6688c55a URL: https://gitlab.winehq.org/wine/wine/-/commit/6a1b12bd8ffca9c16177aac01ac5370... Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Tue Jan 3 18:27:04 2023 +0200 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: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/htmlwindow.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c index 732f5ec7316..f013ba20d1c 100644 --- a/dlls/mshtml/htmlwindow.c +++ b/dlls/mshtml/htmlwindow.c @@ -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;
participants (1)
-
Alexandre Julliard