d1210281e4
Initialize a deleter for a new object, created by QSharedPointer::create(), only after the object is actually constructed. [ChangeLog][QtCore][QSharedPointer] Fixed undefined behavior when creating an object with QSharedPointer::create() and its conscructor throws an exception. Task-number: QTBUG-49824 Change-Id: I07f77a78ff468d9b45b8ef133278e8cdd96a0647 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> |
||
---|---|---|
.. | ||
.gitignore | ||
externaltests.cpp | ||
externaltests.h | ||
externaltests.pri | ||
forwarddeclared.cpp | ||
forwarddeclared.h | ||
nontracked.cpp | ||
nontracked.h | ||
qsharedpointer.pro | ||
tst_qsharedpointer.cpp | ||
wrapper.cpp | ||
wrapper.h |