Uninitialized memory is compared.
authorMartin Jones <martin.jones@nokia.com>
Thu, 5 May 2011 03:24:32 +0000 (13:24 +1000)
committerOlivier Goffart <olivier.goffart@nokia.com>
Wed, 11 May 2011 15:00:06 +0000 (17:00 +0200)
commitdb49ce3f88653fffd6aa967a7acd73058ba1f214
tree0bdc243fe464e419bff3bf2f9afc991d4b0309a2
parent15407cfb5f4eb8e24e55f2ac6eb5a3b9f6e8ebae
Uninitialized memory is compared.

Memory is allocated and used without first clearing it.  At
the least this annoys valgrind, but also has potential for real
problems.

Change-Id: Icf3fd39f44ee0481dd732510e7f8b3ad6cef477d
Task-number: QTBUG-15187
Reviewed-by: Aaron Kennedy
(cherry picked from commit 95aa4e4f9b82c3652ffc93310b190db869d491df)
src/declarative/qml/qdeclarativeproperty.cpp
src/declarative/qml/qmetaobjectbuilder.cpp