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
ae5f1b94
Commit
ae5f1b94
authored
Mar 24, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed small memory leaks.
parent
d36fc485
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/demux/playlist/pls.c
modules/demux/playlist/pls.c
+4
-0
No files found.
modules/demux/playlist/pls.c
View file @
ae5f1b94
...
@@ -181,6 +181,8 @@ static int Demux( demux_t *p_demux )
...
@@ -181,6 +181,8 @@ static int Demux( demux_t *p_demux )
if
(
!
strncasecmp
(
psz_key
,
"file"
,
sizeof
(
"file"
)
-
1
)
||
if
(
!
strncasecmp
(
psz_key
,
"file"
,
sizeof
(
"file"
)
-
1
)
||
!
strncasecmp
(
psz_key
,
"Ref"
,
sizeof
(
"Ref"
)
-
1
)
)
!
strncasecmp
(
psz_key
,
"Ref"
,
sizeof
(
"Ref"
)
-
1
)
)
{
{
if
(
psz_mrl_orig
)
free
(
psz_mrl_orig
);
psz_mrl_orig
=
psz_mrl_orig
=
psz_mrl
=
E_
(
ProcessMRL
)(
psz_value
,
p_demux
->
p_sys
->
psz_prefix
);
psz_mrl
=
E_
(
ProcessMRL
)(
psz_value
,
p_demux
->
p_sys
->
psz_prefix
);
...
@@ -197,6 +199,8 @@ static int Demux( demux_t *p_demux )
...
@@ -197,6 +199,8 @@ static int Demux( demux_t *p_demux )
}
}
else
if
(
!
strncasecmp
(
psz_key
,
"title"
,
sizeof
(
"title"
)
-
1
)
)
else
if
(
!
strncasecmp
(
psz_key
,
"title"
,
sizeof
(
"title"
)
-
1
)
)
{
{
if
(
psz_name
)
free
(
psz_name
);
psz_name
=
strdup
(
psz_value
);
psz_name
=
strdup
(
psz_value
);
}
}
else
if
(
!
strncasecmp
(
psz_key
,
"length"
,
sizeof
(
"length"
)
-
1
)
)
else
if
(
!
strncasecmp
(
psz_key
,
"length"
,
sizeof
(
"length"
)
-
1
)
)
...
...
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