summaryrefslogtreecommitdiffstats
path: root/config.tests/qpa/direct2d
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2020-06-02 12:08:08 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2020-06-03 06:57:50 +0200
commit7f927b373e4652af9777748c5e2bce4bddad8da3 (patch)
tree3c654bd7fbd823cad5503419e6966c8f76ebe66b /config.tests/qpa/direct2d
parent654a3ad08e52dd84dac3a729e06458cfa568f6bb (diff)
H2 protocol handler: make sure inflateEnd gets called on z-stream
The request/reply pair is created out of QNetworkRequest, we set autoDecompress data-member on the request, but not reply. As a result, reply in its destructor fails to release memory, allocated by z-lib (by failing to call inflateEnd). Since with H1 requests it does not seem to be a problem (no leaks detected), I'm limiting this change to H2 handler only. Later it will be retired by the stream decompression change in Qt 6, but will be picked to 5.15. Fixes: QTBUG-84560 Pick-to: 5.15 Change-Id: I82e19d2b0a83624b730edd20d7d45721e7001731 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'config.tests/qpa/direct2d')
0 files changed, 0 insertions, 0 deletions