mshtml: Fix a memory leak in the htmldoc tests.

This commit is contained in:
Rob Shearman 2007-12-07 14:14:15 +00:00 committed by Alexandre Julliard
parent 2a9168e586
commit cf48f090f1
1 changed files with 1 additions and 0 deletions

View File

@ -2424,6 +2424,7 @@ static void _test_readyState(unsigned line, IUnknown *unk)
ok_(__FILE__, line)
(!lstrcmpW(state, expected_state[load_state]), "unexpected state \"%s\", expected %d\n",
debugstr_w(state), load_state);
SysFreeString(state);
IHTMLDocument_Release(htmldoc);
}