Commit 9d79aa68 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

riched20/tests: Fix a memory leak (Valgrind).

parent 0b3e7115
......@@ -705,6 +705,8 @@ static void test_TxSetText(void)
ok(memcmp(rettext,settext,SysStringByteLen(rettext)) == 0,
"String returned differs\n");
SysFreeString(rettext);
/* Null-pointer should behave the same as empty-string */
hres = ITextServices_TxSetText(txtserv, 0);
......
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