glimagesink: Fix window memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=763356
This commit is contained in:
parent
7b2ab7279f
commit
cd696a0b79
@ -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