Commit 17a50f39 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent 98da69a8
......@@ -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);
......
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