Module: wine Branch: master Commit: d82e2935e41da81bd9e5576046c362ea091d0fe1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d82e2935e41da81bd9e5576046...
Author: Michael Stefaniuc mstefani@redhat.de Date: Sat May 31 19:20:55 2014 +0200
dmusic: Release the clock when destroying the IDirectMusic8 object.
---
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);