[fix] Don't forget to X509_free the cert.