summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-12-15 08:25:35 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-12-15 08:25:35 (GMT)
commitaf5984ef163894b6eb43894aa4075e947642bb6d (patch)
tree8240e02b281583c30ae7195160d82bdb4aa4c6a6
parentc01231089fe396689310f56529d06ab4136296fa (diff)
parent27de60f2f6047cb3f698825af96e569fde04ef06 (diff)
downloadQt-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-xconfigure2
-rw-r--r--src/plugins/bearer/networkmanager/qnetworkmanagerengine.cpp8
2 files changed, 6 insertions, 4 deletions
diff --git a/configure b/configure
index 7141880..aa8d047 100755
--- a/configure
+++ b/configure
@@ -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;
}