Commit b528f595 authored by Rémi Duraffort's avatar Rémi Duraffort

sout_httplive: fix free of uninitialized pointer.

parent 19dc078e
...@@ -540,7 +540,7 @@ static int get_HTTPLivePlaylist(stream_t *s, hls_stream_t *hls) ...@@ -540,7 +540,7 @@ static int get_HTTPLivePlaylist(stream_t *s, hls_stream_t *hls)
/* Download new playlist file from server */ /* Download new playlist file from server */
if (AccessOpen(s, &hls->url) != VLC_SUCCESS) if (AccessOpen(s, &hls->url) != VLC_SUCCESS)
goto error; return VLC_EGENERIC;
/* Parse the rest of the reply */ /* Parse the rest of the reply */
uint8_t *tmp = calloc(1, HTTPLIVE_MAX_LINE); uint8_t *tmp = calloc(1, HTTPLIVE_MAX_LINE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment