Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
81072902
Commit
81072902
authored
Oct 27, 2012
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: HeapFree secondaries (Coverity).
parent
a428416a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
dsound.c
dlls/dsound/tests/dsound.c
+1
-0
dsound8.c
dlls/dsound/tests/dsound8.c
+2
-0
No files found.
dlls/dsound/tests/dsound.c
View file @
81072902
...
...
@@ -1562,6 +1562,7 @@ static void test_hw_buffers(void)
for
(
i
=
0
;
i
<
caps
.
dwMaxHwMixingAllBuffers
;
++
i
)
if
(
secondaries
[
i
])
IDirectSoundBuffer_Release
(
secondaries
[
i
]);
HeapFree
(
GetProcessHeap
(),
0
,
secondaries
);
IDirectSoundBuffer_Release
(
primary
);
IDirectSound_Release
(
ds
);
...
...
dlls/dsound/tests/dsound8.c
View file @
81072902
...
...
@@ -1049,6 +1049,8 @@ static void test_hw_buffers(void)
if
(
secondaries
[
i
])
IDirectSoundBuffer_Release
(
secondaries
[
i
]);
HeapFree
(
GetProcessHeap
(),
0
,
secondaries
);
IDirectSoundBuffer_Release
(
primary
);
IDirectSound8_Release
(
ds
);
}
...
...
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