1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

mshtml/tests: Fix performance leaks in test_document_mode_lock.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
Gabriel Ivăncescu 2023-07-07 17:25:04 +03:00 committed by Alexandre Julliard
parent f17f7df5c7
commit 2a9944c136

View file

@ -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);