diff options
author | jian liang <jianliang79@gmail.com> | 2015-09-20 23:08:59 +0800 |
---|---|---|
committer | jian liang <jianliang79@gmail.com> | 2015-09-22 23:32:05 +0000 |
commit | be2e0f75ae2e55f235b34b402b70628a839b7782 (patch) | |
tree | afe4e5a025b9f932e83448658e20c6ef9e3e22e7 /tests/auto/corelib/tools/qdatetime | |
parent | 843199f303652fa2208e50e03987436ca312b791 (diff) |
Free the QFreeList object allocated memory on exit
This memory allocation was introduced in
314c83c0c2f91532654f869b7dc6af1b7e8538da. With a compiler without thread
safe statics support mutex.cpp use a function named freelist() to create
the global QFreeList object. it will be created when the first time it was
accessed, but will never be released. This patch use Q_DESTRUCTOR_FUNCTION
to delete this object.
Task-number: QTBUG-48359
Change-Id: I4e4716930930aa98630101a1f96de6a7672af9cb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qdatetime')
0 files changed, 0 insertions, 0 deletions