[vlc-devel] [PATCH 2/4] vgl: don't call cleanup callback if nothing has done

Zhao Zhili quinkblack at foxmail.com
Thu Aug 23 10:42:59 CEST 2018


---
 modules/video_output/vgl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/vgl.c b/modules/video_output/vgl.c
index 6af8c67..24caf58 100644
--- a/modules/video_output/vgl.c
+++ b/modules/video_output/vgl.c
@@ -137,7 +137,6 @@ static int Open(vlc_object_t *object)
     return VLC_SUCCESS;
 
 error:
-    Close(object);
     return VLC_EGENERIC;
 }
 
-- 
2.9.5





More information about the vlc-devel mailing list