Fix null-pointer access in QQuickVisualDataModelPrivate
authorFlorian Hänel <florian.haenel@basyskom.com>
Mon, 3 Jun 2013 11:40:09 +0000 (13:40 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 7 Jun 2013 19:28:59 +0000 (21:28 +0200)
commite4fc75edaedead3092aace3a29a0aafdd0e86a77
tree7479a631e81254df9f7579ee2128b5c7ff77042f
parent837b76fa4dd4a904e0c29f93fca5de1d642a84e3
Fix null-pointer access in QQuickVisualDataModelPrivate

I observed null cachItem->contextData which lead to null-pointer access
on cacheItem->contextData->destroy().

Task-number: QTBUG-31439

Change-Id: I91f28a3ee1ac83446ecde1801a1cb7962fb883f3
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/qml/types/qqmldelegatemodel.cpp