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

dmime: IDirectMusicPerformance8_FreePMsg Release the unknown pointer.

parent 4915c51e
......@@ -531,7 +531,9 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_FreePMsg(IDirectMusicPerforma
DMUS_ItemRemoveFromQueue( This, pItem );
LeaveCriticalSection(&This->safe);
/** TODO: see if we should Release the pItem->pMsg->punkUser and others Interfaces */
if (pPMSG->punkUser)
IUnknown_Release(pPMSG->punkUser);
HeapFree(GetProcessHeap(), 0, pItem);
return S_OK;
}
......
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