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:35:07 +00:00
parent f6b659cba4
commit 0e6c20da46

View File

@ -477,6 +477,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);
}