Commit 22cfbf6c authored by Rémi Duraffort's avatar Rémi Duraffort

livehttp: fix memory leak (cid #1048908)

parent cdacb3aa
...@@ -850,6 +850,7 @@ static ssize_t openNextFile( sout_access_out_t *p_access, sout_access_out_sys_t ...@@ -850,6 +850,7 @@ static ssize_t openNextFile( sout_access_out_t *p_access, sout_access_out_sys_t
if ( unlikely( !segment->psz_filename ) ) if ( unlikely( !segment->psz_filename ) )
{ {
msg_Err( p_access, "Format segmentpath failed"); msg_Err( p_access, "Format segmentpath failed");
destroySegment( segment );
return -1; return -1;
} }
......
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