We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9884c32 commit d0fa8c7Copy full SHA for d0fa8c7
1 file changed
ixwebsocket/IXSocketMbedTLS.cpp
@@ -321,6 +321,11 @@ namespace ix
321
mbedtls_entropy_free(&_entropy);
322
mbedtls_x509_crt_free(&_cacert);
323
mbedtls_x509_crt_free(&_cert);
324
+ mbedtls_pk_free(&_pkey);
325
+ if (MBEDTLS_VERSION_MAJOR >= 3 && MBEDTLS_VERSION_MINOR >= 6 && MBEDTLS_VERSION_PATCH >= 0)
326
+ {
327
+ mbedtls_psa_crypto_free();
328
+ }
329
330
Socket::close();
331
}
0 commit comments