Commit e1208737 authored by Ilkka Ollakka's avatar Ilkka Ollakka

livehttp: free p_sys->p_seglens if str_format_time fails

parent d49e2ef6
...@@ -204,6 +204,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -204,6 +204,7 @@ static int Open( vlc_object_t *p_this )
free( psz_idx ); free( psz_idx );
if ( !psz_tmp ) if ( !psz_tmp )
{ {
free( p_sys->p_seglens );
free( p_sys ); free( p_sys );
return VLC_ENOMEM; return VLC_ENOMEM;
} }
......
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