Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6343dc6c
Commit
6343dc6c
authored
Nov 27, 2023
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Add Release() on some codepaths.
Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
b138be09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
segment.c
dlls/dmime/segment.c
+3
-0
No files found.
dlls/dmime/segment.c
View file @
6343dc6c
...
@@ -373,7 +373,10 @@ static HRESULT WINAPI segment_GetParam(IDirectMusicSegment8 *iface, REFGUID type
...
@@ -373,7 +373,10 @@ static HRESULT WINAPI segment_GetParam(IDirectMusicSegment8 *iface, REFGUID type
for
(
i
=
0
,
count
=
0
;
i
<
DMUS_SEG_ANYTRACK
&&
count
<=
index
;
i
++
)
{
for
(
i
=
0
,
count
=
0
;
i
<
DMUS_SEG_ANYTRACK
&&
count
<=
index
;
i
++
)
{
if
(
FAILED
(
segment_GetTrack
(
iface
,
&
GUID_NULL
,
group
,
i
,
&
track
)))
break
;
if
(
FAILED
(
segment_GetTrack
(
iface
,
&
GUID_NULL
,
group
,
i
,
&
track
)))
break
;
if
(
FAILED
(
IDirectMusicTrack_IsParamSupported
(
track
,
type
)))
if
(
FAILED
(
IDirectMusicTrack_IsParamSupported
(
track
,
type
)))
{
IDirectMusicTrack_Release
(
track
);
continue
;
continue
;
}
if
(
index
==
count
||
index
==
DMUS_SEG_ANYTRACK
)
if
(
index
==
count
||
index
==
DMUS_SEG_ANYTRACK
)
hr
=
IDirectMusicTrack_GetParam
(
track
,
type
,
time
,
next
,
param
);
hr
=
IDirectMusicTrack_GetParam
(
track
,
type
,
time
,
next
,
param
);
IDirectMusicTrack_Release
(
track
);
IDirectMusicTrack_Release
(
track
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment