1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

fix the memory leak with openssl (~8K per connection)

This commit is contained in:
Sergei Golubchik
2024-05-26 11:34:52 +02:00
parent d9a50aceac
commit 875ef5ad64

View File

@@ -563,6 +563,8 @@ my_bool ma_tls_connect(MARIADB_TLS *ctls)
ma_tls_get_finger_print(ctls, MA_HASH_SHA256, fp, 33);
mysql_hex_string(ctls->cert_info.fingerprint, fp, 32);
X509_free(cert);
}
return 0;