oleaut32: Fix two memory leaks in the test for DispCallFunc.
This commit is contained in:
parent
bc9b5c22fe
commit
d7682104e6
|
@ -1160,6 +1160,8 @@ static void test_DispCallFunc(void)
|
|||
hr = DispCallFunc(pWidget, 36, CC_STDCALL, VT_UI4, 4, rgvt, rgpvarg, &varresult);
|
||||
ok_ole_success(hr, DispCallFunc);
|
||||
VariantClear(&varresult);
|
||||
VariantClear(&vararg[1]);
|
||||
VariantClear(&vararg[2]);
|
||||
}
|
||||
|
||||
START_TEST(tmarshal)
|
||||
|
|
Loading…
Reference in New Issue