mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
glcontext: fix display leak
https://bugzilla.gnome.org/show_bug.cgi?id=781019
This commit is contained in:
parent
884e4b7810
commit
3fd5608e21
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,
|
g_set_error (error, GST_GL_CONTEXT_ERROR,
|
||||||
GST_GL_CONTEXT_ERROR_RESOURCE_UNAVAILABLE,
|
GST_GL_CONTEXT_ERROR_RESOURCE_UNAVAILABLE,
|
||||||
"Failed to create EGLDisplay from native display");
|
"Failed to create EGLDisplay from native display");
|
||||||
|
gst_object_unref (display);
|
||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue