Commit 663e11b2 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

oleaut32: Fix a memory leak in the tests.

Found by Valgrind.
parent 53ee807a
......@@ -264,6 +264,7 @@ void test_DispGetParam(void)
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
ok(V_VT(&result) == VT_BSTR, "Expected VT_BSTR, got %08x\n", V_VT(&result));
ok(err_index == 0xdeadbeef, "Expected 0xdeadbeef, got %d\n", err_index);
VariantClear(&result);
}
START_TEST(dispatch)
......
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