Module: wine Branch: master Commit: f428c1feb5031b2c34cc48045d6c6592e4a7f09f URL: https://gitlab.winehq.org/wine/wine/-/commit/f428c1feb5031b2c34cc48045d6c659...
Author: Gabriel Ivăncescu gabrielopcode@gmail.com Date: Wed Jun 21 21:12:50 2023 +0300
mshtml: Fix style declaration leak in HTMLStyle_Create.
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com
---
dlls/mshtml/htmlstyle.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c index 703fbeeb942..c8dc69bb2af 100644 --- a/dlls/mshtml/htmlstyle.c +++ b/dlls/mshtml/htmlstyle.c @@ -10099,6 +10099,7 @@ HRESULT HTMLStyle_Create(HTMLElement *elem, HTMLStyle **ret)
init_css_style(&style->css_style, nsstyle, HTMLStyle_QI, &HTMLStyle_dispex, dispex_compat_mode(&elem->node.event_target.dispex)); + nsIDOMCSSStyleDeclaration_Release(nsstyle);
*ret = style; return S_OK;