mirror of
https://github.com/reactos/wine.git
synced 2025-02-08 21:27:31 +00:00
mshtml: Fix a memory leak in the htmldoc tests.
This commit is contained in:
parent
2a9168e586
commit
cf48f090f1
@ -2424,6 +2424,7 @@ static void _test_readyState(unsigned line, IUnknown *unk)
|
|||||||
ok_(__FILE__, line)
|
ok_(__FILE__, line)
|
||||||
(!lstrcmpW(state, expected_state[load_state]), "unexpected state \"%s\", expected %d\n",
|
(!lstrcmpW(state, expected_state[load_state]), "unexpected state \"%s\", expected %d\n",
|
||||||
debugstr_w(state), load_state);
|
debugstr_w(state), load_state);
|
||||||
|
SysFreeString(state);
|
||||||
|
|
||||||
IHTMLDocument_Release(htmldoc);
|
IHTMLDocument_Release(htmldoc);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user