qthttpserver/tests
Øystein Heskestad 00646c309e Fix memory leak in tst_QAbstractHttpServer::websocket()
Raw pointers to QWebSocket objects are used in the websocket test,
and they are deleted manually at the end of the test, but if the
test fails the QWebSocket objects are not deleted.

Use std::unique_ptr instead to ensure the that the QWebSocket
objects are always deleted.

Change-Id: I71c65698c17bd2a86ffca23f5a6e48874519f0b4
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2024-05-29 10:15:07 +02:00
..
auto Fix memory leak in tst_QAbstractHttpServer::websocket() 2024-05-29 10:15:07 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-25 16:10:12 +00:00