diff options
author | Martin Petersson <martin.petersson@nokia.com> | 2011-02-16 11:46:36 (GMT) |
---|---|---|
committer | Martin Petersson <martin.petersson@nokia.com> | 2011-02-16 11:49:53 (GMT) |
commit | 02f2ac6d090547f5b13534d77fe7761d6f236fb2 (patch) | |
tree | 0fc9c905d31b0bf3d83fcd28aeb040af84f8ae5d | |
parent | df129c2449181869f0b95ae92d174b9eca52b2f7 (diff) | |
download | Qt-02f2ac6d090547f5b13534d77fe7761d6f236fb2.zip Qt-02f2ac6d090547f5b13534d77fe7761d6f236fb2.tar.gz Qt-02f2ac6d090547f5b13534d77fe7761d6f236fb2.tar.bz2 |
SSL: fix memory leak when loading certificates on Mac OS X
Reviewed-by: Markus Goetz
-rw-r--r-- | src/network/ssl/qsslsocket_openssl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp index 7d21bd3..84e14ff 100644 --- a/src/network/ssl/qsslsocket_openssl.cpp +++ b/src/network/ssl/qsslsocket_openssl.cpp @@ -780,6 +780,7 @@ QList<QSslCertificate> QSslSocketPrivate::systemCaCertificates() systemCerts.append(QSslCertificate::fromData(rawCert, QSsl::Der)); } } + CFRelease(cfCerts); } else { // no detailed error handling here |