Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
ae5f1b94
Commit
ae5f1b94
authored
Mar 24, 2007
by
Laurent Aimar
Browse files
Fixed small memory leaks.
parent
d36fc485
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/playlist/pls.c
View file @
ae5f1b94
...
...
@@ -181,6 +181,8 @@ static int Demux( demux_t *p_demux )
if
(
!
strncasecmp
(
psz_key
,
"file"
,
sizeof
(
"file"
)
-
1
)
||
!
strncasecmp
(
psz_key
,
"Ref"
,
sizeof
(
"Ref"
)
-
1
)
)
{
if
(
psz_mrl_orig
)
free
(
psz_mrl_orig
);
psz_mrl_orig
=
psz_mrl
=
E_
(
ProcessMRL
)(
psz_value
,
p_demux
->
p_sys
->
psz_prefix
);
...
...
@@ -197,6 +199,8 @@ static int Demux( demux_t *p_demux )
}
else
if
(
!
strncasecmp
(
psz_key
,
"title"
,
sizeof
(
"title"
)
-
1
)
)
{
if
(
psz_name
)
free
(
psz_name
);
psz_name
=
strdup
(
psz_value
);
}
else
if
(
!
strncasecmp
(
psz_key
,
"length"
,
sizeof
(
"length"
)
-
1
)
)
...
...
Write
Preview
Supports
Markdown
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