oleaut32: Fix a couple of memory leaks in the tests.
Found by Valgrind.
This commit is contained in:
parent
bf93519a39
commit
6f4ad21b9d
|
@ -1658,9 +1658,11 @@ static void test_SafeArrayChangeTypeEx(void)
|
|||
MKARRAY(0,1,VT_UI1);
|
||||
hres = VariantChangeTypeEx(&v2, &v, 0, 0, VT_NULL);
|
||||
ok(hres == DISP_E_TYPEMISMATCH, "CTE VT_ARRAY|VT_UI1 returned %x\n", hres);
|
||||
VariantClear(&v);
|
||||
MKARRAY(0,1,VT_UI1);
|
||||
hres = VariantChangeTypeEx(&v2, &v, 0, 0, VT_EMPTY);
|
||||
ok(hres == DISP_E_TYPEMISMATCH, "CTE VT_ARRAY|VT_UI1 returned %x\n", hres);
|
||||
VariantClear(&v);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue