qt5base-lts/tests/auto/corelib/kernel/qproperty
Fabian Kosmale 652062dde3 QNotifiedProperty: avoid crash
We can end up in a situation where a (soon to be destroyed) observer is
owned by a binding which is about to be deleted. If in that situation
the binding is destroyed first, we end up with a dangling pointer
and ensuing memory corruption. Instead, we now first transfer the
ownership of the observer and only destroy the binding afterwards.

Fixes: QTBUG-85824
Change-Id: I721c0319281ada981ae7896bd2e02e9a0cc901b8
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-08-04 11:28:33 +00:00
..
CMakeLists.txt Add QProperty tests to the cmake build 2020-03-27 13:29:47 +01:00
qproperty.pro
tst_qproperty.cpp QNotifiedProperty: avoid crash 2020-08-04 11:28:33 +00:00