Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
3b635f61
Commit
3b635f61
authored
Jan 17, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/demux.c: fixed small mem leak.
parent
9ded8607
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/input/demux.c
src/input/demux.c
+6
-3
No files found.
src/input/demux.c
View file @
3b635f61
...
...
@@ -2,7 +2,7 @@
* demux.c
*****************************************************************************
* Copyright (C) 1999-2004 VideoLAN
* $Id: demux.c,v 1.
7 2004/01/06 12:02:06 zorglub
Exp $
* $Id: demux.c,v 1.
8 2004/01/17 12:03:19 gbazin
Exp $
*
* Author: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -225,12 +225,16 @@ demux_t *__demux2_New( vlc_object_t *p_obj,
p_demux
->
pf_control
=
NULL
;
p_demux
->
p_sys
=
NULL
;
vlc_object_attach
(
p_demux
,
p_obj
);
/* before module_Need (for var_Create...)*/
/* Before module_Need (for var_Create...) */
vlc_object_attach
(
p_demux
,
p_obj
);
p_demux
->
p_module
=
module_Need
(
p_demux
,
"demux2"
,
p_demux
->
psz_demux
);
if
(
p_demux
->
p_module
==
NULL
)
{
vlc_object_detach
(
p_demux
);
free
(
p_demux
->
psz_path
);
free
(
p_demux
->
psz_demux
);
free
(
p_demux
->
psz_access
);
vlc_object_destroy
(
p_demux
);
return
NULL
;
}
...
...
@@ -252,4 +256,3 @@ void demux2_Delete( demux_t *p_demux )
vlc_object_destroy
(
p_demux
);
}
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