diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2019-05-07 16:04:59 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2019-05-08 15:24:25 +0200 |
commit | d67ca376b2111717de88596888f315fba05ef9c3 (patch) | |
tree | d3c3998e5aeaed2f39afe5b95835344f859fddda /LICENSE.GPL2 | |
parent | 14b0efe1d4e5addec5f577a2d01a3a0d9a1d931b (diff) |
BlueZ: Fix leaking client socket when running QLEController Peripheral mode
In fact there are two socket leaks. The first is the socket for the incoming
l2cp connection from the central device and the second one is allocated in the
ctor of QBluetoothSocket. When QBluetoothSocket::setSocketDescriptor is called
the previously ctor allocated socket was simply ignorred. This patch closes
both socket.
Fixes: QTBUG-75278
Change-Id: Ia483e3c2a04bec3a53ddf744c22b794941edf848
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'LICENSE.GPL2')
0 files changed, 0 insertions, 0 deletions