Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
eed03739
Commit
eed03739
authored
Jul 19, 2013
by
ivoire
Browse files
Fix memory leak (cid #1049562)
parent
ced821f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/stream_filter/httplive.c
View file @
eed03739
...
...
@@ -1834,7 +1834,10 @@ static ssize_t read_M3U8_from_stream(stream_t *s, uint8_t **buffer)
if
(
bytes
==
0
)
break
;
/* EOF ? */
else
if
(
bytes
<
0
)
{
free
(
p
);
return
bytes
;
}
if
(
(
total_bytes
+
bytes
+
1
)
>
total_allocated
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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