qml/item: also unref the display on destruction
authorMatthew Waters <matthew@centricular.com>
Wed, 7 Dec 2016 11:55:46 +0000 (22:55 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 7 Dec 2016 12:02:02 +0000 (23:02 +1100)
commitafae1c53d21e5d6716796aa46f0ce469ce47c3c7
tree1c752749e145e026f86be1319df5f26c1603185c
parentde41d74e6fc0453b5a929d269019f68812563828
qml/item: also unref the display on destruction

Leaking objects (and a thread!) is never a good idea.

https://bugzilla.gnome.org/show_bug.cgi?id=775746
ext/qt/qtitem.cc