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
e21244f7
Commit
e21244f7
authored
Mar 11, 2024
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Mar 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfreadwrite: Fix a memory leak (Coverity).
parent
4860fbe7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
reader.c
dlls/mfreadwrite/reader.c
+3
-0
No files found.
dlls/mfreadwrite/reader.c
View file @
e21244f7
...
@@ -1925,7 +1925,10 @@ static HRESULT source_reader_create_transform(struct source_reader *reader, BOOL
...
@@ -1925,7 +1925,10 @@ static HRESULT source_reader_create_transform(struct source_reader *reader, BOOL
if
(
SUCCEEDED
(
hr
=
MFTEnum
(
category
,
0
,
&
in_type
,
allow_processor
?
NULL
:
&
out_type
,
NULL
,
&
classes
,
&
count
)))
if
(
SUCCEEDED
(
hr
=
MFTEnum
(
category
,
0
,
&
in_type
,
allow_processor
?
NULL
:
&
out_type
,
NULL
,
&
classes
,
&
count
)))
{
{
if
(
!
count
)
if
(
!
count
)
{
free
(
entry
);
return
MF_E_TOPO_CODEC_NOT_FOUND
;
return
MF_E_TOPO_CODEC_NOT_FOUND
;
}
for
(
i
=
0
;
i
<
count
;
i
++
)
for
(
i
=
0
;
i
<
count
;
i
++
)
{
{
...
...
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