Commit 5e9f80c7 authored by Matthew Waters's avatar Matthew Waters 🐨 Committed by GStreamer Merge Bot

qtitem: fix leak of caps

parent 4f4997a9
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment