mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-01 17:31:10 +00:00
qtitem: fix leak of caps
This commit is contained in:
parent
4f4997a935
commit
5e9f80c79a
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@ QtGLVideoItem::~QtGLVideoItem()
|
||||||
gst_object_unref(this->priv->other_context);
|
gst_object_unref(this->priv->other_context);
|
||||||
if (this->priv->display)
|
if (this->priv->display)
|
||||||
gst_object_unref(this->priv->display);
|
gst_object_unref(this->priv->display);
|
||||||
|
|
||||||
|
gst_caps_replace (&this->priv->caps, NULL);
|
||||||
g_free (this->priv);
|
g_free (this->priv);
|
||||||
this->priv = NULL;
|
this->priv = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue