glcontext/egl: add missing unref
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1328>
This commit is contained in:
parent
71dd47516c
commit
9abac91c96
@ -1191,6 +1191,9 @@ gst_gl_context_egl_destroy_context (GstGLContext * context)
|
||||
g_signal_handler_disconnect (window, egl->window_handle_signal);
|
||||
egl->window_handle_signal = 0;
|
||||
}
|
||||
if (window) {
|
||||
gst_object_unref (window);
|
||||
}
|
||||
|
||||
gst_gl_context_egl_activate (context, FALSE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user