Module: wine
Branch: master
Commit: 355eb6b91bb36ccd85ad10b219766ed60da39fff
URL: https://gitlab.winehq.org/wine/wine/-/commit/355eb6b91bb36ccd85ad10b219766e…
Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com>
Date: Tue Jan 3 18:27:04 2023 +0200
mshtml: Don't hold ref to the created window in the FrameBase.
Note that for the case when mozwindow_to_window returns an existing window,
no ref is added to it anyway, so this is just leaking.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com>
---
dlls/mshtml/htmlframe.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dlls/mshtml/htmlframe.c b/dlls/mshtml/htmlframe.c
index e1b1562b0dc..38bb53dc551 100644
--- a/dlls/mshtml/htmlframe.c
+++ b/dlls/mshtml/htmlframe.c
@@ -48,9 +48,14 @@ static HRESULT set_frame_doc(HTMLFrameBase *frame, nsIDOMDocument *nsdoc)
return E_FAIL;
window = mozwindow_to_window(mozwindow);
- if(!window && frame->element.node.doc->browser)
+ if(!window && frame->element.node.doc->browser) {
hres = create_outer_window(frame->element.node.doc->browser, mozwindow,
frame->element.node.doc->outer_window, &window);
+
+ /* Don't hold ref to the created window; the parent keeps ref to it */
+ if(SUCCEEDED(hres))
+ IHTMLWindow2_Release(&window->base.IHTMLWindow2_iface);
+ }
mozIDOMWindowProxy_Release(mozwindow);
if(FAILED(hres))
return hres;
Module: wine
Branch: master
Commit: bb82bc78f439ba92ae5a40979c8037dcb10477d4
URL: https://gitlab.winehq.org/wine/wine/-/commit/bb82bc78f439ba92ae5a40979c8037…
Author: Zebediah Figura <zfigura(a)codeweavers.com>
Date: Tue Jan 10 18:39:54 2023 -0600
wined3d: Use a string channel desc to initialize typed formats.
Avoid the need for manually set type attributes, and initialize the component
count for all such formats.
This fixes use of R11G11B10_FLOAT as a vertex attribute format with the GL
backend. Since it has no corresponding typeless format, prior to this commit the
component count was uninitialized and hence use of the format would result in a
GL error.
This fixes a GL error with Dark Souls Remastered. I did not immediately observe
any corresponding rendering errors, however.
---
dlls/d3d10core/tests/d3d10core.c | 3 +-
dlls/d3d11/tests/d3d11.c | 3 +-
dlls/wined3d/utils.c | 173 +++++++++++++++++++--------------------
3 files changed, 85 insertions(+), 94 deletions(-)