Commit 21f36843 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

hls: fix memory leak

parent 1f8ca468
......@@ -312,6 +312,7 @@ M3U8 * Parser::parse(const std::string &playlisturl)
free(psz_line);
return NULL;
}
free(psz_line);
M3U8 *playlist = new (std::nothrow) M3U8(p_stream);
if(!playlist)
......
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