Module: wine Branch: master Commit: aaf051ffffc50f6b809ddba1656aec138d1f94ab URL: https://gitlab.winehq.org/wine/wine/-/commit/aaf051ffffc50f6b809ddba1656aec1... Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Wed Jun 21 21:12:51 2023 +0300 mshtml/tests: Fix CurrentStyle leak in test_style_filters. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/tests/style.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/mshtml/tests/style.c b/dlls/mshtml/tests/style.c index b0f6da47fea..8d33b85af84 100644 --- a/dlls/mshtml/tests/style.c +++ b/dlls/mshtml/tests/style.c @@ -3424,6 +3424,7 @@ static void test_style_filters(IHTMLElement *elem) ok(hres == S_OK, "get_style failed: %08lx\n", hres); current_style2 = get_current_style2_iface((IUnknown*)current_style); + IHTMLCurrentStyle_Release(current_style); test_style_filter(style, NULL); test_current_style_filter(current_style2, NULL);