dmusic: Release the clock when destroying the IDirectMusic8 object.
This commit is contained in:
parent
19eba06a26
commit
d82e2935e4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue