[vlc-devel] [PATCH 3/5] vout: add missing clean-up on fail
Thomas Guillem
thomas at gllm.fr
Mon Jun 3 15:41:34 CEST 2019
---
src/video_output/video_output.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 0a89f11651..b0915b2edf 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1870,6 +1870,7 @@ vout_thread_t *vout_Create(vlc_object_t *object)
if (sys->display_cfg.window == NULL) {
if (sys->spu)
spu_Destroy(sys->spu);
+ vlc_mutex_destroy(&sys->spu_lock);
vlc_object_delete(vout);
return NULL;
}
--
2.20.1
More information about the vlc-devel
mailing list