]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
RECORD_LAYER_clear(): Remove redundant BIO_free(rl->rrlnext)
authorNevv <liuyimingwo@qq.com>
Tue, 2 Dec 2025 12:21:57 +0000 (20:21 +0800)
committerTomas Mraz <tomas@openssl.org>
Wed, 3 Dec 2025 16:40:06 +0000 (17:40 +0100)
Fixes #29283

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29289)

ssl/record/rec_layer_s3.c

index dac248fec8f3f6942d4b71535370b96755e924a0..a1234fa161e95c091ca302c876b10d517168e05c 100644 (file)
@@ -57,10 +57,10 @@ int RECORD_LAYER_clear(RECORD_LAYER *rl)
         rl->rrlmethod->free(rl->rrl); /* Ignore return value */
     if (rl->wrlmethod != NULL)
         rl->wrlmethod->free(rl->wrl); /* Ignore return value */
-    BIO_free(rl->rrlnext);
+
     rl->rrlmethod = NULL;
     rl->wrlmethod = NULL;
-    rl->rrlnext = NULL;
+
     rl->rrl = NULL;
     rl->wrl = NULL;