Commit 2897e2b4 authored by Antti Ajanki's avatar Antti Ajanki Committed by Tristan Matthews

hds: free mutexes and cond variables on all streams

Signed-off-by: Tristan Matthews's avatarTristan Matthews <tmatth@videolan.org>
parent f1403d27
......@@ -1453,6 +1453,8 @@ static void hds_free( hds_stream_t *p_stream )
FREENULL( p_stream->abst_url );
cleanup_threading( p_stream );
FREENULL( p_stream->url );
FREENULL( p_stream->movie_id );
for( int i = 0; i < p_stream->server_entry_count; i++ )
......@@ -1563,11 +1565,6 @@ static void Close( vlc_object_t *p_this )
vlc_join( p_sys->dl_thread, NULL );
if (stream)
{
cleanup_threading( stream );
}
if( p_sys->live )
{
vlc_join( p_sys->live_thread, 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