Free the Kerberos context upon freeing the SSL.

Contributed by Andrew Mann <amann@tccgi.com>
This commit is contained in:
Richard Levitte 2003-09-27 07:33:28 +00:00
parent f0ad5fc2ab
commit c9b552534e

View File

@ -473,6 +473,11 @@ void SSL_free(SSL *s)
if (s->method != NULL) s->method->ssl_free(s);
#ifndef OPENSSL_NO_KRB5
if (s->kssl_ctx != NULL)
kssl_ctx_free(s->kssl_ctx);
#endif /* OPENSSL_NO_KRB5 */
OPENSSL_free(s);
}