Commit 9d75caf4 authored by Damjan Jovanovic's avatar Damjan Jovanovic Committed by Alexandre Julliard

qcap/tests: Fix a COM reference leak in the audiorecord test.

parent 54dee9a9
......@@ -152,6 +152,7 @@ START_TEST(audiorecord)
IMoniker *mon;
WCHAR *name;
HRESULT hr;
ULONG ref;
CoInitialize(NULL);
......@@ -182,6 +183,8 @@ START_TEST(audiorecord)
test_interfaces(filter);
ref = IBaseFilter_Release(filter);
ok(!ref, "Got outstanding refcount %d.\n", ref);
IMoniker_Release(mon);
}
......
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