mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,8 @@ QtGLWindow::~QtGLWindow()
|
||||||
gst_object_unref(this->priv->display);
|
gst_object_unref(this->priv->display);
|
||||||
if (this->priv->context)
|
if (this->priv->context)
|
||||||
gst_object_unref(this->priv->context);
|
gst_object_unref(this->priv->context);
|
||||||
|
if (this->priv->caps)
|
||||||
|
gst_caps_unref(this->priv->caps);
|
||||||
g_free (this->priv);
|
g_free (this->priv);
|
||||||
this->priv = NULL;
|
this->priv = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue