qml: Fix leak of the OpenGL contexts
authorSergey Borovkov <sergey.borovkov@wireload.net>
Tue, 1 Mar 2016 15:22:37 +0000 (18:22 +0300)
committerMatthew Waters <matthew@centricular.com>
Thu, 3 Mar 2016 02:13:26 +0000 (13:13 +1100)
commit7981c1cb8608049ac7e78a6c3cb00b62dd7289e0
tree5994d7b0c3c7c94b65115f4c16318f9b8269aba0
parentb077cd55108fc1c91f4c464124fb27dcb63b2bf2
qml: Fix leak of the OpenGL contexts

[Matthew Waters]: add NULL checks before unreffing

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