[PATCH 1/5 v2] riched20/tests: Free retext after use.
22 May
2018
22 May
'18
8:31 a.m.
Superseded patch 146216. Signed-off-by: Jactry Zeng <jzeng(a)codeweavers.com> --- dlls/riched20/tests/txtsrv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/riched20/tests/txtsrv.c b/dlls/riched20/tests/txtsrv.c index 73ca7cd753..88b5adf13c 100644 --- a/dlls/riched20/tests/txtsrv.c +++ b/dlls/riched20/tests/txtsrv.c @@ -654,6 +654,7 @@ static void test_TxGetText(void) hres = ITextServices_TxGetText(txtserv, &rettext); ok(hres == S_OK, "ITextServices_TxGetText failed (result = %x)\n", hres); + SysFreeString(rettext); ITextServices_Release(txtserv); ITextHost_Release(host); -- 2.15.1 (Apple Git-101)
2768
Age (days ago)
2769
Last active (days ago)
1 comments
2 participants
participants (2)
-
Huw Davies -
Jactry Zeng