mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-26 19:44:32 +00:00
ossl: Fix memory leak when querying for tls supported cipher suites
This commit is contained in:
parent
5d027c8012
commit
6ee845ba60
@ -5013,6 +5013,7 @@ public:
|
||||
const SSL_CIPHER *thisCipher = sk_SSL_CIPHER_value(sk, i);
|
||||
cipherList += QString::fromLatin1(SSL_CIPHER_standard_name(thisCipher));
|
||||
}
|
||||
sk_SSL_CIPHER_free(sk);
|
||||
|
||||
SSL_free(ssl);
|
||||
SSL_CTX_free(ctx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user