qt6-bb10/tests/auto/network/access
Marc Mutz d3c08df330 tst_QNetworkCookieJar: fix memleak
QTest::toString() returns a new[]'ed char array, which needs to be
manually deleted and QVERIFY2() doesn't take ownership of its second
argument.

Fix by wrapping in unique_ptr<char[]>(...).get().

Bug exists since the dawn of the public history.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I19ec09f46ec0ce5eacf1437f62dc625bc9343831
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2023-07-14 14:56:10 +02:00
..
hpack CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
hsts CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
http2 CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractnetworkcache CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qdecompresshelper CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qhttpheaderparser CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qhttpnetworkconnection CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qhttpnetworkreply CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkaccessmanager CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkcachemetadata CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkcookie CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkcookiejar tst_QNetworkCookieJar: fix memleak 2023-07-14 14:56:10 +02:00
qnetworkdiskcache CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkreply CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkrequest CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00