mshtml: Properly release body element in basic_style_test.

This commit is contained in:
Jacek Caban 2011-10-03 13:51:28 -05:00 committed by Alexandre Julliard
parent adf9e6120d
commit 93d54b1759
1 changed files with 1 additions and 1 deletions

View File

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