mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 03:23:16 +00:00
glcontext: fix display leak
https://bugzilla.gnome.org/show_bug.cgi?id=781019
This commit is contained in:
parent
697cd40ee4
commit
326b8763de
1 changed files with 1 additions and 0 deletions
|
@ -312,6 +312,7 @@ gst_gl_context_egl_create_context (GstGLContext * context,
|
|||
g_set_error (error, GST_GL_CONTEXT_ERROR,
|
||||
GST_GL_CONTEXT_ERROR_RESOURCE_UNAVAILABLE,
|
||||
"Failed to create EGLDisplay from native display");
|
||||
gst_object_unref (display);
|
||||
goto failure;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue