You've already forked mariadb-connector-c
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user