dmime: Avoid releasing the newly created graph twice.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55790
This commit is contained in:
parent
7c9e8b9c4e
commit
231dd330cf
1 changed files with 0 additions and 2 deletions
|
@ -195,8 +195,6 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_GetObjectInPath (IDirectMusicAud
|
|||
if (FAILED(hr))
|
||||
return hr;
|
||||
IDirectMusicPerformance8_SetGraph(This->pPerf, pGraph);
|
||||
/* we need release as SetGraph do an AddRef */
|
||||
IDirectMusicGraph_Release(pGraph);
|
||||
pPerfoGraph = pGraph;
|
||||
}
|
||||
*ppObject = pPerfoGraph;
|
||||
|
|
Loading…
Add table
Reference in a new issue