summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-06-25 10:36:12 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-06-25 13:08:09 +0200
commit094be0786f75ed33564c6096778510dab4500eb8 (patch)
tree5e76cbf8fd11c1fb07e2e97a6d833ba5e2aecc18
parent2d3b464d586ef2a48b7e91d0d8987a17973d80fb (diff)
downloadqtconnectivity-094be0786f75ed33564c6096778510dab4500eb8.tar.gz
Fix crash in bttestui when using default backend
The cause are uninitialized pointers. Change-Id: I4ba5f79dbda3e20361fc1127fa08e93a2b7ce80e Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
-rw-r--r--tests/bttestui/btlocaldevice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bttestui/btlocaldevice.cpp b/tests/bttestui/btlocaldevice.cpp
index 3a9b52b5..251b6dfc 100644
--- a/tests/bttestui/btlocaldevice.cpp
+++ b/tests/bttestui/btlocaldevice.cpp
@@ -104,6 +104,8 @@ BtLocalDevice::BtLocalDevice(QObject *parent) :
} else {
deviceAgent = 0;
serviceAgent = 0;
+ socket = 0;
+ server = 0;
}
}