Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
6b099317
Commit
6b099317
authored
Nov 14, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BD: fix memleak on error path
parent
2f1737e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/access/bd/bd.c
modules/access/bd/bd.c
+3
-0
No files found.
modules/access/bd/bd.c
View file @
6b099317
...
@@ -161,7 +161,10 @@ static int Open( vlc_object_t *p_this )
...
@@ -161,7 +161,10 @@ static int Open( vlc_object_t *p_this )
/* Fill p_demux field */
/* Fill p_demux field */
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
*
p_sys
)
);
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
*
p_sys
)
);
if
(
!
p_sys
)
if
(
!
p_sys
)
{
free
(
psz_base
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
p_sys
->
psz_base
=
psz_base
;
p_sys
->
psz_base
=
psz_base
;
p_sys
->
b_shortname
=
b_shortname
;
p_sys
->
b_shortname
=
b_shortname
;
TAB_INIT
(
p_sys
->
i_mpls
,
p_sys
->
pp_mpls
);
TAB_INIT
(
p_sys
->
i_mpls
,
p_sys
->
pp_mpls
);
...
...
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