dmusic/tests: Fix an object leak.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c16b65cdd9
commit
7192bbce8f
|
@ -553,6 +553,8 @@ static void test_COM_synthport(void)
|
|||
ok(hr == E_NOINTERFACE, "QueryInterface for IID_IReferenceClock failed: %08x\n", hr);
|
||||
|
||||
while (IDirectMusicPort_Release(port));
|
||||
refcount = IDirectMusic_Release(dmusic);
|
||||
ok(!refcount, "Got outstanding refcount %d.\n", refcount);
|
||||
}
|
||||
|
||||
struct chunk {
|
||||
|
|
Loading…
Reference in New Issue