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:
Michael Stefaniuc 2022-01-21 18:41:07 +01:00 committed by Alexandre Julliard
parent c16b65cdd9
commit 7192bbce8f
1 changed files with 2 additions and 0 deletions

View File

@ -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 {