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
985d2ba1
Commit
985d2ba1
authored
Aug 17, 2012
by
Marcus Meissner
Committed by
Alexandre Julliard
Aug 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Fixed another use-after free (Coverity).
parent
524ff6fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vfwcapture.c
dlls/qcap/vfwcapture.c
+3
-3
No files found.
dlls/qcap/vfwcapture.c
View file @
985d2ba1
...
@@ -793,11 +793,11 @@ VfwPin_EnumMediaTypes(IPin * iface, IEnumMediaTypes ** ppEnum)
...
@@ -793,11 +793,11 @@ VfwPin_EnumMediaTypes(IPin * iface, IEnumMediaTypes ** ppEnum)
VfwPinImpl
*
This
=
(
VfwPinImpl
*
)
iface
;
VfwPinImpl
*
This
=
(
VfwPinImpl
*
)
iface
;
hr
=
qcap_driver_get_format
(
This
->
driver_info
,
&
pmt
);
hr
=
qcap_driver_get_format
(
This
->
driver_info
,
&
pmt
);
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
{
hr
=
BasePinImpl_EnumMediaTypes
(
iface
,
ppEnum
);
hr
=
BasePinImpl_EnumMediaTypes
(
iface
,
ppEnum
);
DeleteMediaType
(
pmt
);
}
TRACE
(
"%p -- %x
\n
"
,
This
,
hr
);
TRACE
(
"%p -- %x
\n
"
,
This
,
hr
);
DeleteMediaType
(
pmt
);
return
hr
;
return
hr
;
}
}
...
...
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