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
593dcb1b
Commit
593dcb1b
authored
Mar 13, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
Apr 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/session: Avoid leaking samples in transform_node_deliver_samples.
parent
43fb0ecd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
session.c
dlls/mf/session.c
+3
-0
No files found.
dlls/mf/session.c
View file @
593dcb1b
...
@@ -3334,7 +3334,10 @@ static void transform_node_deliver_samples(struct media_session *session, struct
...
@@ -3334,7 +3334,10 @@ static void transform_node_deliver_samples(struct media_session *session, struct
stream
=
&
topo_node
->
u
.
transform
.
inputs
[
input
];
stream
=
&
topo_node
->
u
.
transform
.
inputs
[
input
];
if
(
SUCCEEDED
(
transform_stream_pop_sample
(
stream
,
&
sample
)))
if
(
SUCCEEDED
(
transform_stream_pop_sample
(
stream
,
&
sample
)))
{
session_deliver_sample_to_node
(
session
,
topo_node
->
node
,
input
,
sample
);
session_deliver_sample_to_node
(
session
,
topo_node
->
node
,
input
,
sample
);
IMFSample_Release
(
sample
);
}
else
if
(
FAILED
(
hr
=
IMFTopologyNode_GetInput
(
topo_node
->
node
,
input
,
&
up_node
,
&
output
)))
else
if
(
FAILED
(
hr
=
IMFTopologyNode_GetInput
(
topo_node
->
node
,
input
,
&
up_node
,
&
output
)))
WARN
(
"Failed to get node %p/%lu input, hr %#lx
\n
"
,
topo_node
->
node
,
input
,
hr
);
WARN
(
"Failed to get node %p/%lu input, hr %#lx
\n
"
,
topo_node
->
node
,
input
,
hr
);
else
else
...
...
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