diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-12-15 08:25:35 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-12-15 08:25:35 (GMT) |
commit | af5984ef163894b6eb43894aa4075e947642bb6d (patch) | |
tree | 8240e02b281583c30ae7195160d82bdb4aa4c6a6 | |
parent | c01231089fe396689310f56529d06ab4136296fa (diff) | |
parent | 27de60f2f6047cb3f698825af96e569fde04ef06 (diff) | |
download | Qt-af5984ef163894b6eb43894aa4075e947642bb6d.zip Qt-af5984ef163894b6eb43894aa4075e947642bb6d.tar.gz Qt-af5984ef163894b6eb43894aa4075e947642bb6d.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Add extra type of embedded license.
Fix possible null pointer dereference.
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -480,7 +480,7 @@ elif [ $COMMERCIAL_USER = "yes" ]; then # Qt All-OS LICENSE_EXTENSION="-ALLOS" ;; - 8M,* | KM,* | S9,* | SC,* | SU,* | SW,* | X9,* | XC,* | XU,* | XW,*) + 8M,* | KM,* | S9,* | SC,* | SM,* | SU,* | SW,* | X9,* | XC,* | XU,* | XW,*) # Qt for Embedded Linux LICENSE_EXTENSION="-EMBEDDED" ;; diff --git a/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp b/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp index 554f9b7..f93b605 100644 --- a/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp +++ b/src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp @@ -743,9 +743,11 @@ QNetworkConfigurationPrivate *QNetworkManagerEngine::parseConnection(const QStri QNetworkConfigurationPrivatePointer ptr = accessPointConfigurations.take(accessPointId); - mutex.unlock(); - emit configurationRemoved(ptr); - mutex.lock(); + if (ptr) { + mutex.unlock(); + emit configurationRemoved(ptr); + mutex.lock(); + } } break; } |