Skip to content

QSslCertificate(OpenSSL plugin): fix memory leaks in extension 'parser'

They went unnoticed previously because of lazy evaluation, which is not the case anymore.

  • asturmlechner 2021-10-16: Fix conflicts caused by preceding dev branch commits: 79138e41 which dropped src/network/ssl/qsslcertificate_openssl.cpp in favor of existing src/network/ssl/qx509_openssl.cpp d385158d which moved src/{network/ => plugins/tls/open}ssl/qx509_openssl.cpp

    • Add missing QtCore/qscopeguard.h include.
    • Change q(C)Warning(lcTlsBackend) to lcSsl.

Fixes: QTBUG-96155 Pick-to: 6.2 5.15 Change-Id: I46026a24b354c1db7c10d84fceae06c4ab7cc0fc Reviewed-by: Edward Welbourne edward.welbourne@qt.io (cherry picked from commit c55f6157)

Merge request reports