Commit b28512f6 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

dmime: Free more interfaces in IDirectMusicPerformance FreePMsg.

parent 04fe670a
......@@ -535,6 +535,12 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_FreePMsg(IDirectMusicPerforma
DMUS_ItemRemoveFromQueue( This, pItem );
LeaveCriticalSection(&This->safe);
if (pPMSG->pTool)
IDirectMusicTool_Release(pPMSG->pTool);
if (pPMSG->pGraph)
IDirectMusicGraph_Release(pPMSG->pGraph);
if (pPMSG->punkUser)
IUnknown_Release(pPMSG->punkUser);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment