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
61393fa0
Commit
61393fa0
authored
Oct 17, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Check for NULL listener (Coverity).
parent
b6c7eda2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
ds3d8.c
dlls/dsound/tests/ds3d8.c
+5
-3
No files found.
dlls/dsound/tests/ds3d8.c
View file @
61393fa0
...
@@ -767,9 +767,11 @@ static HRESULT test_secondary8(LPGUID lpGuid, int play,
...
@@ -767,9 +767,11 @@ static HRESULT test_secondary8(LPGUID lpGuid, int play,
}
}
EXIT1:
EXIT1:
if
(
has_listener
)
{
if
(
has_listener
)
{
ref
=
IDirectSound3DListener_Release
(
listener
);
if
(
listener
)
{
ok
(
ref
==
0
,
"IDirectSound3dListener_Release() listener has %d "
ref
=
IDirectSound3DListener_Release
(
listener
);
"references, should have 0
\n
"
,
ref
);
ok
(
ref
==
0
,
"IDirectSound3dListener_Release() listener has %d "
"references, should have 0
\n
"
,
ref
);
}
}
else
{
}
else
{
ref
=
IDirectSoundBuffer_Release
(
primary
);
ref
=
IDirectSoundBuffer_Release
(
primary
);
ok
(
ref
==
0
,
"IDirectSoundBuffer_Release() primary has %d references, "
ok
(
ref
==
0
,
"IDirectSoundBuffer_Release() primary has %d references, "
...
...
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