From bb5d5e006679eb91ecad948c3babfe0d0ff10d46 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Wed, 6 Sep 2023 12:00:25 +0100 Subject: [PATCH] glcontext_egl: Remove spurious mutex unlock The context is not locked in any call site of the "failed" goto. Part-of: --- .../gst-plugins-base/gst-libs/gst/gl/egl/gstglcontext_egl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglcontext_egl.c b/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglcontext_egl.c index 3719b9feed..c01bd46cfa 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglcontext_egl.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglcontext_egl.c @@ -1769,7 +1769,6 @@ gst_gl_context_egl_fetch_dma_formats (GstGLContext * context) failed: { g_free (formats); - GST_OBJECT_UNLOCK (context); return FALSE; } }