diff options
author | Raul Metsma <raul@innovaatik.ee> | 2009-08-31 09:20:52 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@trolltech.com> | 2009-08-31 09:20:52 (GMT) |
commit | f6863745919c3ddf66734ca2045a9b5086835af1 (patch) | |
tree | 371b1c1bd75192687aa943b1ed02ec2492d72fe0 /src/network/ssl/qsslcertificate.cpp | |
parent | 7f1d1eaeb1dbe7b0951e4b3c47b27c7dc95eb7c1 (diff) | |
download | Qt-f6863745919c3ddf66734ca2045a9b5086835af1.zip Qt-f6863745919c3ddf66734ca2045a9b5086835af1.tar.gz Qt-f6863745919c3ddf66734ca2045a9b5086835af1.tar.bz2 |
Fix QSslCertificate::alternateSubjectNames() memory leak
Task-number: 258964
Merge-request: 1382
Reviewed-by: Peter Hartmann <peter.hartmann@trolltech.com>
Diffstat (limited to 'src/network/ssl/qsslcertificate.cpp')
-rw-r--r-- | src/network/ssl/qsslcertificate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp index 8d855b1..7b5653d 100644 --- a/src/network/ssl/qsslcertificate.cpp +++ b/src/network/ssl/qsslcertificate.cpp @@ -387,7 +387,7 @@ QMultiMap<QSsl::AlternateNameEntryType, QString> QSslCertificate::alternateSubje else if (genName->type == GEN_EMAIL) result.insert(QSsl::EmailEntry, altName); } - q_sk_free((STACK*)altNames); + q_sk_pop_free((STACK*)altNames, q_sk_free); } return result; |