From: Matt Caswell Date: Mon, 2 Feb 2015 14:08:34 +0000 (+0000) Subject: Fix bug where rrec was being released...should have been removed by one of X-Git-Tag: OpenSSL_1_1_0-pre1~1416 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75d40c9332e271a03a3cad09502ea4f8363590dc;p=openssl Fix bug where rrec was being released...should have been removed by one of the earlier record layer commits Reviewed-by: Richard Levitte --- diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index c2f964d194..bd860d6fde 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -3152,7 +3152,6 @@ void ssl3_clear(SSL *s) if (s->s3->tmp.ca_names != NULL) sk_X509_NAME_pop_free(s->s3->tmp.ca_names, X509_NAME_free); - SSL3_RECORD_release(RECORD_LAYER_get_rrec(&s->rlayer)); #ifndef OPENSSL_NO_DH DH_free(s->s3->tmp.dh); s->s3->tmp.dh = NULL;