Commit adc4c5d3 authored by Thomas Guillem's avatar Thomas Guillem

background_worker: add missing destroy

parent d7d93ce8
......@@ -221,5 +221,7 @@ void background_worker_Delete( struct background_worker* worker )
{
BackgroundWorkerCancel( worker, NULL );
vlc_array_clear( &worker->tail.data );
vlc_mutex_destroy( &worker->lock );
vlc_cond_destroy( &worker->head.wait );
free( worker );
}
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