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
230ba3f4
Commit
230ba3f4
authored
Aug 20, 2014
by
Rémi Denis-Courmont
Browse files
hds: fix stale pointer
parent
8011d4e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/stream_filter/hds/hds.c
View file @
230ba3f4
...
...
@@ -762,6 +762,8 @@ static uint8_t* download_chunk( stream_t *s,
msg_Err
(
s
,
"Requested %"
PRIi64
" bytes, "
\
"but only got %d"
,
size
,
read
);
data
=
realloc
(
chunk
->
data
,
read
);
if
(
data
!=
NULL
)
chunk
->
data
=
data
;
chunk
->
failed
=
true
;
return
NULL
;
}
...
...
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