Commit c6ff530a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

riched20/tests: Don't leak string in test.

parent d2e169fa
...@@ -667,6 +667,7 @@ static void test_TxSetText(void) ...@@ -667,6 +667,7 @@ static void test_TxSetText(void)
ok(memcmp(rettext,settext,SysStringByteLen(rettext)) == 0, ok(memcmp(rettext,settext,SysStringByteLen(rettext)) == 0,
"String returned differs\n"); "String returned differs\n");
SysFreeString(rettext);
IUnknown_Release(txtserv); IUnknown_Release(txtserv);
CoTaskMemFree(dummyTextHost); CoTaskMemFree(dummyTextHost);
} }
......
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