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

This commit is contained in:
Nikolay Sivov 2015-06-03 23:21:42 +03:00 committed by Alexandre Julliard
parent 98da69a83f
commit 17a50f39b2
1 changed files with 1 additions and 0 deletions

View File

@ -2616,6 +2616,7 @@ static void test_SetText(void)
str = SysAllocString(textW);
hr = ITextRange_SetText(range, str);
ok(hr == S_OK, "got 0x%08x\n", hr);
SysFreeString(str);
value = 1;
hr = ITextRange_GetStart(range, &value);