[vlc-commits] background_worker: add missing destroy
Thomas Guillem
git at videolan.org
Mon Oct 9 09:53:06 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Oct 6 17:59:15 2017 +0200| [adc4c5d318f3465b69e72f9673202f5f8040a99f] | committer: Thomas Guillem
background_worker: add missing destroy
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=adc4c5d318f3465b69e72f9673202f5f8040a99f
---
src/misc/background_worker.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/misc/background_worker.c b/src/misc/background_worker.c
index 777b494c3e..a3dd825f1a 100644
--- a/src/misc/background_worker.c
+++ b/src/misc/background_worker.c
@@ -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 );
}
More information about the vlc-commits
mailing list