Commit aaf051ff authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml/tests: Fix CurrentStyle leak in test_style_filters.

parent 6412d86b
...@@ -3424,6 +3424,7 @@ static void test_style_filters(IHTMLElement *elem) ...@@ -3424,6 +3424,7 @@ static void test_style_filters(IHTMLElement *elem)
ok(hres == S_OK, "get_style failed: %08lx\n", hres); ok(hres == S_OK, "get_style failed: %08lx\n", hres);
current_style2 = get_current_style2_iface((IUnknown*)current_style); current_style2 = get_current_style2_iface((IUnknown*)current_style);
IHTMLCurrentStyle_Release(current_style);
test_style_filter(style, NULL); test_style_filter(style, NULL);
test_current_style_filter(current_style2, NULL); test_current_style_filter(current_style2, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment