oleaut32: Fix two memory leaks in the test for DispCallFunc.

This commit is contained in:
Rob Shearman 2007-12-06 14:06:15 +00:00 committed by Alexandre Julliard
parent bc9b5c22fe
commit d7682104e6
1 changed files with 2 additions and 0 deletions

View File

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