summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qnativesocketengine_unix.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-03-25 09:39:49 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-03-25 09:39:49 (GMT)
commite34a24dcd49c055741c9a5914479842021175551 (patch)
tree5fb0f590c47967805b426da14c6d872bde3480a1 /src/network/socket/qnativesocketengine_unix.cpp
parentc3776865dd3731917adf9a8ec8cdffb79a579bae (diff)
downloadQt-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