Skip to content
Snippets Groups Projects
Commit 9d79aa68 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard
Browse files

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

parent 0b3e7115
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment