[PATCH 1/2] dmusic: Release the clock when destroying the IDirectMusic8 object.
Michael Stefaniuc
mstefani at redhat.de
Sat May 31 12:20:55 CDT 2014
---
dlls/dmusic/dmusic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/dmusic/dmusic.c b/dlls/dmusic/dmusic.c
index 6c837f7..30f69cc 100644
--- a/dlls/dmusic/dmusic.c
+++ b/dlls/dmusic/dmusic.c
@@ -74,6 +74,7 @@ static ULONG WINAPI IDirectMusic8Impl_Release(LPDIRECTMUSIC8 iface)
TRACE("(%p)->(): new ref = %u\n", This, ref);
if (!ref) {
+ IReferenceClock_Release(&This->pMasterClock->IReferenceClock_iface);
HeapFree(GetProcessHeap(), 0, This->system_ports);
HeapFree(GetProcessHeap(), 0, This->ppPorts);
HeapFree(GetProcessHeap(), 0, This);
--
1.8.3.1
More information about the wine-patches
mailing list