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:
49e9f75
)
Fix memory leak.
author
Ben Laurie
<ben@openssl.org>
Wed, 6 Jun 2012 12:58:35 +0000
(12:58 +0000)
committer
Ben Laurie
<ben@openssl.org>
Wed, 6 Jun 2012 12:58:35 +0000
(12:58 +0000)
ssl/s3_lib.c
patch
|
blob
|
history
diff --git
a/ssl/s3_lib.c
b/ssl/s3_lib.c
index ab92af77876613bd7a06e103a2d253b2c842de79..9c1ffd41872629f8635234479cc01b990fe9bb8d 100644
(file)
--- a/
ssl/s3_lib.c
+++ b/
ssl/s3_lib.c
@@
-2988,6
+2988,10
@@
void ssl3_free(SSL *s)
if (s->s3->handshake_dgst) ssl3_free_digest_list(s);
#ifndef OPENSSL_NO_SRP
SSL_SRP_CTX_free(s);
+#endif
+#ifndef OPENSSL_NO_TLSEXT
+ if (s->s3->tlsext_authz_client_types != NULL)
+ OPENSSL_free(s->s3->tlsext_authz_client_types);
#endif
OPENSSL_cleanse(s->s3,sizeof *s->s3);
OPENSSL_free(s->s3);