Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
f63268ac
Commit
f63268ac
authored
May 14, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: Fix a memleak.
parent
9d8178b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/input/input.c
src/input/input.c
+2
-4
No files found.
src/input/input.c
View file @
f63268ac
...
...
@@ -1107,13 +1107,11 @@ static void InitPrograms( input_thread_t * p_input )
/* Set up es_out */
es_out_Control
(
p_input
->
p
->
p_es_out
,
ES_OUT_SET_ACTIVE
,
true
);
i_es_out_mode
=
ES_OUT_MODE_AUTO
;
val
.
p_list
=
NULL
;
if
(
p_input
->
p
->
p_sout
)
{
if
(
var_GetBool
(
p_input
,
"sout-all"
)
)
{
i_es_out_mode
=
ES_OUT_MODE_ALL
;
val
.
p_list
=
NULL
;
}
else
{
...
...
@@ -1125,8 +1123,7 @@ static void InitPrograms( input_thread_t * p_input )
}
else
{
var_Change
(
p_input
,
"programs"
,
VLC_VAR_FREELIST
,
&
val
,
NULL
);
var_Change
(
p_input
,
"programs"
,
VLC_VAR_FREELIST
,
&
val
,
NULL
);
}
}
}
...
...
@@ -1141,6 +1138,7 @@ static void InitPrograms( input_thread_t * p_input )
{
demux_Control
(
p_input
->
p
->
input
.
p_demux
,
DEMUX_SET_GROUP
,
-
1
,
val
.
p_list
);
var_Change
(
p_input
,
"programs"
,
VLC_VAR_FREELIST
,
&
val
,
NULL
);
}
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