Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d9133f1f
Commit
d9133f1f
authored
Feb 22, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* input_programs.c: a little memleak.
parent
ef9b193b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/input/input_programs.c
src/input/input_programs.c
+5
-4
No files found.
src/input/input_programs.c
View file @
d9133f1f
...
...
@@ -2,7 +2,7 @@
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
*****************************************************************************
* Copyright (C) 1999-2004 VideoLAN
* $Id: input_programs.c,v 1.13
1 2004/01/29 15:10:17
fenrir Exp $
* $Id: input_programs.c,v 1.13
2 2004/02/22 16:40:25
fenrir Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -51,8 +51,6 @@ static int NavigationCallback( vlc_object_t *, char const *,
static
int
ESCallback
(
vlc_object_t
*
,
char
const
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
static
es_format_t
null_es_format
=
{
0
};
/*****************************************************************************
* input_InitStream: init the stream descriptor of the given input
*****************************************************************************/
...
...
@@ -625,7 +623,7 @@ es_descriptor_t * input_AddES( input_thread_t * p_input,
p_es
->
c_packets
=
0
;
p_es
->
c_invalid_packets
=
0
;
p_es
->
b_force_decoder
=
VLC_FALSE
;
p_es
->
fmt
=
null_es_format
;
es_format_Init
(
&
p_es
->
fmt
,
UNKNOWN_ES
,
0
)
;
if
(
i_data_len
)
{
...
...
@@ -807,6 +805,9 @@ void input_DelES( input_thread_t * p_input, es_descriptor_t * p_es )
free
(
p_es
->
psz_desc
);
}
/* Clean the es format */
es_format_Clean
(
&
p_es
->
fmt
);
/* Find the ES in the ES table */
for
(
i_es_index
=
0
;
i_es_index
<
p_input
->
stream
.
i_es_number
;
i_es_index
++
)
...
...
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