Signed-off-by: Sven Baars sven.wine@gmail.com --- dlls/riched20/tests/txtsrv.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/riched20/tests/txtsrv.c b/dlls/riched20/tests/txtsrv.c index 0415be8b80..20d411afcb 100644 --- a/dlls/riched20/tests/txtsrv.c +++ b/dlls/riched20/tests/txtsrv.c @@ -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);
Sorry, this is supposed to be only one patch, not a series.
-- Sven