diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-03-25 09:39:49 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-03-25 09:39:49 (GMT) |
commit | e34a24dcd49c055741c9a5914479842021175551 (patch) | |
tree | 5fb0f590c47967805b426da14c6d872bde3480a1 /src/network/socket/qnativesocketengine_unix.cpp | |
parent | c3776865dd3731917adf9a8ec8cdffb79a579bae (diff) | |
download | Qt-e34a24dcd49c055741c9a5914479842021175551.zip Qt-e34a24dcd49c055741c9a5914479842021175551.tar.gz Qt-e34a24dcd49c055741c9a5914479842021175551.tar.bz2 |
Fix QSharedPointer crashing when it is used as a global static in an application.
If it's used as a static, then the order of destruction is
ill-defined. The QSharedPointer object may be destroyed after our
Q_GLOBAL_STATIC knownPointers has been deleted, thus causing a
null-pointer dereference.
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
Task-number: 246843
Diffstat (limited to 'src/network/socket/qnativesocketengine_unix.cpp')
0 files changed, 0 insertions, 0 deletions