diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-06-25 10:36:12 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@digia.com> | 2014-06-25 13:08:09 +0200 |
commit | 094be0786f75ed33564c6096778510dab4500eb8 (patch) | |
tree | 5e76cbf8fd11c1fb07e2e97a6d833ba5e2aecc18 | |
parent | 2d3b464d586ef2a48b7e91d0d8987a17973d80fb (diff) | |
download | qtconnectivity-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.cpp | 2 |
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; } } |