From: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/tests/dom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index a15ae34bc50..c97124b043c 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -1761,6 +1761,7 @@ static void _test_area_href(unsigned line, IUnknown *unk, const WCHAR *exhref) hres = IHTMLAreaElement_get_href(area, &str); ok_(__FILE__,line)(hres == S_OK, "get_href failed: %08lx\n", hres); ok_(__FILE__,line)(!lstrcmpW(str, exhref), "href = %s, expected %s\n", wine_dbgstr_w(str), wine_dbgstr_w(exhref)); + IHTMLAreaElement_Release(area); SysFreeString(str); _test_disp_value(line, unk, exhref); @@ -1776,6 +1777,7 @@ static void _test_area_put_href(unsigned line, IUnknown *unk, const WCHAR *exhre str = SysAllocString(exhref); hres = IHTMLAreaElement_put_href(area, str); ok_(__FILE__,line)(hres == S_OK, "get_href failed: %08lx\n", hres); + IHTMLAreaElement_Release(area); SysFreeString(str); _test_disp_value(line, unk, exhref); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3266