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

This commit is contained in:
Nikolay Sivov 2011-01-15 00:54:18 +03:00 committed by Alexandre Julliard
parent 6869f89a30
commit 0fc4e7b17c

View File

@ -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);