mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gldisplay: fix GThread leak
https://bugzilla.gnome.org/show_bug.cgi?id=746541
This commit is contained in:
parent
1af4a1f759
commit
a71d479cc3
1 changed files with 1 additions and 0 deletions
|
@ -453,6 +453,7 @@ gst_gl_display_add_context (GstGLDisplay * display, GstGLContext * context)
|
|||
thread = gst_gl_context_get_thread (context);
|
||||
if (thread) {
|
||||
collision = _get_gl_context_for_thread_unlocked (display, thread);
|
||||
g_thread_unref (thread);
|
||||
if (_check_collision (context, collision)) {
|
||||
ret = FALSE;
|
||||
goto out;
|
||||
|
|
Loading…
Reference in a new issue