qtwindow: unref caps in destructor
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4393>
This commit is contained in:
parent
4e4cb3bcf5
commit
884dbb4ace
@ -123,6 +123,8 @@ QtGLWindow::~QtGLWindow()
|
||||
gst_object_unref(this->priv->display);
|
||||
if (this->priv->context)
|
||||
gst_object_unref(this->priv->context);
|
||||
if (this->priv->caps)
|
||||
gst_caps_unref(this->priv->caps);
|
||||
g_free (this->priv);
|
||||
this->priv = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user