Commit 9f60f4e3 authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

mshtml/tests: Add SysFreeString(sDefault) after the variable isn't used any more.

parent 0215c752
......@@ -2668,6 +2668,7 @@ static void test_default_style(IHTMLStyle *style)
hres = IHTMLStyle_put_fontWeight(style, sDefault);
ok(hres == S_OK, "put_fontWeight failed: %08x\n", hres);
SysFreeString(sDefault);
/* font Variant */
hres = IHTMLStyle_get_fontVariant(style, NULL);
......@@ -3071,6 +3072,7 @@ static void test_default_style(IHTMLStyle *style)
hres = IHTMLStyle_put_fontStyle(style, sDefault);
ok(hres == S_OK, "put_fontStyle failed: %08x\n", hres);
SysFreeString(sDefault);
/* overflow */
hres = IHTMLStyle_get_overflow(style, 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