Module: wine Branch: master Commit: 231dd330cf281a5f33eba25d1d562368bb176229 URL: https://gitlab.winehq.org/wine/wine/-/commit/231dd330cf281a5f33eba25d1d56236...
Author: Rémi Bernon rbernon@codeweavers.com Date: Tue Oct 17 12:41:40 2023 +0200
dmime: Avoid releasing the newly created graph twice.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55790
---
dlls/dmime/audiopath.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/dlls/dmime/audiopath.c b/dlls/dmime/audiopath.c index 3310624eb00..65691f4705f 100644 --- a/dlls/dmime/audiopath.c +++ b/dlls/dmime/audiopath.c @@ -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;