qt6-bb10/tests/auto/network/socket/qtcpsocket
Marc Mutz 8cb542c2d4 tst_QTcpSocket: fix mem-leak
earlyConstructedSockets is a QObject, but had no parent and was never
deleted, leaking all the data is holds.

Fix by giving it a parent.

The code predates the begin of the public history.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: Ibc5688afd6111e84f591c37e39b6bb618d76c47a
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-07-15 15:06:58 +02:00
..
stressTest tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
test Revert "Skip socket and server tests on Ubuntu 22.04 and QEMU" 2023-03-20 17:39:18 +01:00
.gitignore
BLACKLIST Blacklist qtcpsocket bind on arm macOS 2022-06-24 17:20:02 +00:00
CMakeLists.txt CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
tst_qtcpsocket.cpp tst_QTcpSocket: fix mem-leak 2023-07-15 15:06:58 +02:00