mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
oleaut32/tests: Fix a string leak (Valgrind).
This commit is contained in:
parent
6869f89a30
commit
0fc4e7b17c
@ -1847,6 +1847,7 @@ static void test_CreateTypeLib(void) {
|
||||
V_BSTR(¶mdescex.varDefaultValue) = SysAllocString(defaultW);
|
||||
hres = ICreateTypeInfo_AddFuncDesc(createti, 3, &funcdesc);
|
||||
ok(hres == S_OK, "got %08x\n", hres);
|
||||
SysFreeString(V_BSTR(¶mdescex.varDefaultValue));
|
||||
|
||||
hres = ITypeInfo2_GetFuncDesc(ti2, 3, &pfuncdesc);
|
||||
ok(hres == S_OK, "got %08x\n", hres);
|
||||
|
Loading…
Reference in New Issue
Block a user