mshtml: Properly release body element in basic_style_test.
This commit is contained in:
parent
adf9e6120d
commit
93d54b1759
|
@ -2044,10 +2044,10 @@ static void basic_style_test(IHTMLDocument2 *doc)
|
||||||
cstyle = get_current_style(elem);
|
cstyle = get_current_style(elem);
|
||||||
test_current_style(cstyle);
|
test_current_style(cstyle);
|
||||||
IHTMLCurrentStyle_Release(cstyle);
|
IHTMLCurrentStyle_Release(cstyle);
|
||||||
|
IHTMLElement_Release(elem);
|
||||||
|
|
||||||
elem = get_element_by_id(doc, "divid");
|
elem = get_element_by_id(doc, "divid");
|
||||||
test_style_filters(elem);
|
test_style_filters(elem);
|
||||||
IHTMLElement_Release(elem);
|
|
||||||
|
|
||||||
test_set_csstext(style);
|
test_set_csstext(style);
|
||||||
IHTMLStyle_Release(style);
|
IHTMLStyle_Release(style);
|
||||||
|
|
Loading…
Reference in New Issue