Commit 01b6c38e authored by Matthew Waters's avatar Matthew Waters 🐨

qml/item: also unref the display on destruction

Leaking objects (and a thread!) is never a good idea.
parent 6ce990d2
......@@ -136,6 +136,8 @@ QtGLVideoItem::~QtGLVideoItem()
if (this->priv->other_context)
if (this->priv->display)
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