projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0ad5fc
)
Free the Kerberos context upon freeing the SSL.
author
Richard Levitte
<levitte@openssl.org>
Sat, 27 Sep 2003 07:33:28 +0000
(07:33 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sat, 27 Sep 2003 07:33:28 +0000
(07:33 +0000)
Contributed by Andrew Mann <amann@tccgi.com>
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index ddd811458779a11783ec9ce0d322b28faf3a6120..6d698906884a1226d3126db58b5f24db6c2d98ee 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-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);
}