Fix null pointer call in QMetaType::destruct().
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>
Mon, 23 Jan 2012 15:34:50 +0000 (16:34 +0100)
committerQt by Nokia <qt-info@nokia.com>
Sun, 29 Jan 2012 14:21:01 +0000 (15:21 +0100)
commitb08b254a798d2f4935ec770662c84d86bdfea97c
tree1263bbe56d85de6f4d5471a7fb8c1728c5182aa4
parentf91c39fe3aab8fae361559216494b283893a54fa
Fix null pointer call in QMetaType::destruct().

Logic has a flow causing null pointer call during destruction of an
instance of a custom type in bootstrap mode.

The patch doesn't include autotests, because we do not test bootstrap
mode.

Change-Id: Ie70c6f4226cb604f094513621d96a560e84502d7
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
src/corelib/kernel/qmetatype.cpp