glimagesink: Fix window memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=763356
This commit is contained in:
parent
215c9eb71a
commit
1f32d6aff7
@ -2139,6 +2139,7 @@ gst_glimage_sink_redisplay (GstGLImageSink * gl_sink)
|
||||
if (gl_sink->next_buffer == NULL) {
|
||||
/* Nothing to display yet */
|
||||
GST_GLIMAGE_SINK_UNLOCK (gl_sink);
|
||||
gst_object_unref (window);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user