Commit 8166c271 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

hds: Fix memory leak on errro

CID #1224537
parent 75de9dcc
......@@ -963,6 +963,7 @@ static chunk_t* generate_new_chunk(
if( frun_entry == hds_stream->fragment_run_count - 1 )
{
msg_Err( p_this, "Discontinuity but can't find next timestamp!");
chunk_free( chunk );
return NULL;
}
......
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