Commit 0fc4e7b1 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oleaut32/tests: Fix a string leak (Valgrind).

parent 6869f89a
......@@ -1847,6 +1847,7 @@ static void test_CreateTypeLib(void) {
V_BSTR(&paramdescex.varDefaultValue) = SysAllocString(defaultW);
hres = ICreateTypeInfo_AddFuncDesc(createti, 3, &funcdesc);
ok(hres == S_OK, "got %08x\n", hres);
SysFreeString(V_BSTR(&paramdescex.varDefaultValue));
hres = ITypeInfo2_GetFuncDesc(ti2, 3, &pfuncdesc);
ok(hres == S_OK, "got %08x\n", hres);
......
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