mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
gldisplay: fix list leak
Windows aren't always removed in time, and it turns out to be very, very hard to remove a window in a way that's not racy and not deadlocky. Since the window itself doesn't leak, freeing the list on object destruction is enough. https://bugzilla.gnome.org/show_bug.cgi?id=781018
This commit is contained in:
parent
920d295c97
commit
697cd40ee4
1 changed files with 1 additions and 0 deletions
|
@ -251,6 +251,7 @@ gst_gl_display_finalize (GObject * object)
|
|||
g_free (l->data);
|
||||
}
|
||||
|
||||
g_list_free (display->windows);
|
||||
g_list_free (display->priv->contexts);
|
||||
|
||||
g_cond_clear (&display->priv->thread_cond);
|
||||
|
|
Loading…
Reference in a new issue