mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
glimagesink: Fix window memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=763356
This commit is contained in:
parent
215c9eb71a
commit
1f32d6aff7
1 changed files with 1 additions and 0 deletions
|
@ -2139,6 +2139,7 @@ gst_glimage_sink_redisplay (GstGLImageSink * gl_sink)
|
||||||
if (gl_sink->next_buffer == NULL) {
|
if (gl_sink->next_buffer == NULL) {
|
||||||
/* Nothing to display yet */
|
/* Nothing to display yet */
|
||||||
GST_GLIMAGE_SINK_UNLOCK (gl_sink);
|
GST_GLIMAGE_SINK_UNLOCK (gl_sink);
|
||||||
|
gst_object_unref (window);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue