Check for "c" being a nullptr in all places
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>
Sun, 11 Jan 2015 07:56:56 +0000 (08:56 +0100)
committerHolger Freyther <holger+qt@freyther.de>
Wed, 14 Jan 2015 08:23:46 +0000 (09:23 +0100)
commit2a2fb6a9b4ff9b387e3301c76d7d62dcc4d604f5
treedbeff9d15b5dc4f282414075d6be4c2634826c14
parenta25dc5dba367f595a62ac9e17717d32f3f723a96
Check for "c" being a nullptr in all places

So either c is never a nullptr or there is a potential crash in
the grab code. Replicate the check from above.

Change-Id: I2c93502c026cdd92dc5d20e3d6d59e6f6f92a6ce
Fixes: Coverity CID 10628
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/quick/items/qquickpathview.cpp