Gabriel Ivăncescu : mshtml/tests: Fix XHR leak in test_window_refs.
Module: wine Branch: master Commit: 47eec813a3640521b989ea8709ace0964dd57806 URL: https://gitlab.winehq.org/wine/wine/-/commit/47eec813a3640521b989ea8709ace09... Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Mon Dec 4 17:27:58 2023 +0200 mshtml/tests: Fix XHR leak in test_window_refs. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/tests/events.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c index 4b775ceb8b8..4732236c52c 100644 --- a/dlls/mshtml/tests/events.c +++ b/dlls/mshtml/tests/events.c @@ -3320,6 +3320,7 @@ static void test_window_refs(IHTMLDocument2 *doc) hres = IHTMLXMLHttpRequestFactory_create(xhr_factory, &xhr); ok(hres == S_OK, "create failed: %08lx\n", hres); IHTMLXMLHttpRequestFactory_Release(xhr_factory); + IHTMLXMLHttpRequest_Release(xhr); hres = IHTMLImageElementFactory_create(image_factory, vempty, vempty, &img_elem); ok(hres == S_OK, "create failed: %08lx\n", hres);
participants (1)
-
Alexandre Julliard