qtitem: fix leak of caps
This commit is contained in:
parent
4f4997a935
commit
5e9f80c79a
@ -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…
x
Reference in New Issue
Block a user