Module: wine Branch: master Commit: 2a9944c136aa6a783959d71fbcd943bd63cfac27 URL: https://gitlab.winehq.org/wine/wine/-/commit/2a9944c136aa6a783959d71fbcd943b...
Author: Gabriel Ivăncescu gabrielopcode@gmail.com Date: Fri Jul 7 17:25:04 2023 +0300
mshtml/tests: Fix performance leaks in test_document_mode_lock.
Signed-off-by: Gabriel Ivăncescu gabrielopcode@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 68dc38f2a03..571643fb66b 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -11985,6 +11985,8 @@ static void test_document_mode_lock(void) hres = IDispatch_QueryInterface(V_DISPATCH(&var), &IID_IHTMLPerformance, (void**)&perf2); ok(hres == S_OK, "Could not get IHTMLPerformance: %08lx\n", hres); ok(perf != perf2, "perf == perf2\n"); + IHTMLPerformance_Release(perf2); + IHTMLPerformance_Release(perf); IHTMLWindow7_Release(window7); IHTMLWindow2_Release(window); VariantClear(&var);