Commit 69acffb9 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

hnetcfg/tests: Don't leak IEnumVARIANT reference in test_static_port_mapping_collection().

parent 31f0509b
......@@ -188,6 +188,7 @@ static void test_static_port_mapping_collection( IStaticPortMappingCollection *p
hr = IUnknown_QueryInterface(unk, &IID_IEnumVARIANT, (void **)&enum_ports);
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
IUnknown_Release( unk );
refcount2 = get_refcount((IUnknown *)ports);
ok(refcount2 == refcount, "Got unexpected refcount %u, refcount2 %u.\n", refcount, refcount2);
......
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