mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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);
|
||||
if (this->priv->display)
|
||||
gst_object_unref(this->priv->display);
|
||||
|
||||
gst_caps_replace (&this->priv->caps, NULL);
|
||||
g_free (this->priv);
|
||||
this->priv = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue