Commit d7682104 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent bc9b5c22
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment