glcontext_egl: Remove spurious mutex unlock

The context is not locked in any call site of the "failed" goto.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5291>
This commit is contained in:
Philippe Normand 2023-09-06 12:00:25 +01:00
parent 6b23f2c4be
commit bb5d5e0066

View file

@ -1769,7 +1769,6 @@ gst_gl_context_egl_fetch_dma_formats (GstGLContext * context)
failed:
{
g_free (formats);
GST_OBJECT_UNLOCK (context);
return FALSE;
}
}