mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
qtwindow: unref caps in destructor
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4418>
This commit is contained in:
parent
e3aad8b518
commit
96b61862f1
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