mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 23:19:17 +00:00
dmime: Free more interfaces in IDirectMusicPerformance FreePMsg.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
04fe670aa6
commit
b28512f6c7
|
@ -535,6 +535,12 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_FreePMsg(IDirectMusicPerforma
|
||||||
DMUS_ItemRemoveFromQueue( This, pItem );
|
DMUS_ItemRemoveFromQueue( This, pItem );
|
||||||
LeaveCriticalSection(&This->safe);
|
LeaveCriticalSection(&This->safe);
|
||||||
|
|
||||||
|
if (pPMSG->pTool)
|
||||||
|
IDirectMusicTool_Release(pPMSG->pTool);
|
||||||
|
|
||||||
|
if (pPMSG->pGraph)
|
||||||
|
IDirectMusicGraph_Release(pPMSG->pGraph);
|
||||||
|
|
||||||
if (pPMSG->punkUser)
|
if (pPMSG->punkUser)
|
||||||
IUnknown_Release(pPMSG->punkUser);
|
IUnknown_Release(pPMSG->punkUser);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue