diff options
author | Ben Laurie <ben@openssl.org> | 2012-06-11 09:23:38 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2012-06-11 09:23:38 +0000 |
commit | 3c56d65a417115625d4f966d99fda1dcc74910a6 (patch) | |
tree | b628123a7aabc3cad1ae68bc3b35edb33ab14925 /ssl/s3_lib.c | |
parent | e51ec51af933d4cc2a617502d1ba86e2b0af7194 (diff) |
Fix memory leak.
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r-- | ssl/s3_lib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 9c1ffd4187..d520a11939 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -3036,6 +3036,13 @@ void ssl3_clear(SSL *s) s->s3->tmp.ecdh = NULL; } #endif +#ifndef OPENSSL_NO_TLSEXT + if (s->s3->tlsext_authz_client_types != NULL) + { + OPENSSL_free(s->s3->tlsext_authz_client_types); + s->s3->tlsext_authz_client_types = NULL; + } +#endif rp = s->s3->rbuf.buf; wp = s->s3->wbuf.buf; |