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
985acda3
Commit
985acda3
authored
Apr 10, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 10, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap/tests: Return cloned enumeration objects (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3237c5ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
smartteefilter.c
dlls/qcap/tests/smartteefilter.c
+3
-0
No files found.
dlls/qcap/tests/smartteefilter.c
View file @
985acda3
...
...
@@ -299,6 +299,7 @@ static HRESULT WINAPI SinkEnumPins_Clone(IEnumPins *iface, IEnumPins **ppEnum)
if
(
clone
==
NULL
)
return
E_OUTOFMEMORY
;
clone
->
index
=
This
->
index
;
*
ppEnum
=
&
clone
->
IEnumPins_iface
;
return
S_OK
;
}
...
...
@@ -971,6 +972,7 @@ static HRESULT WINAPI SourceEnumPins_Clone(IEnumPins *iface, IEnumPins **ppEnum)
if
(
clone
==
NULL
)
return
E_OUTOFMEMORY
;
clone
->
index
=
This
->
index
;
*
ppEnum
=
&
clone
->
IEnumPins_iface
;
return
S_OK
;
}
...
...
@@ -1087,6 +1089,7 @@ static HRESULT WINAPI SourceEnumMediaTypes_Clone(IEnumMediaTypes *iface, IEnumMe
if
(
clone
==
NULL
)
return
E_OUTOFMEMORY
;
clone
->
index
=
This
->
index
;
*
ppEnum
=
&
clone
->
IEnumMediaTypes_iface
;
return
S_OK
;
}
...
...
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