From: Neil Horman Date: Fri, 7 Mar 2025 20:09:48 +0000 (-0500) Subject: Fix a few erroneous double frees in quic-hq-interop X-Git-Tag: openssl-3.5.0-alpha1~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cfbeba8ed5fea4e5a85e03c5ce33fe3e6cb07ab;p=thirdparty%2Fopenssl.git Fix a few erroneous double frees in quic-hq-interop Uncovered during testing for openssl/project#1130 Reviewed-by: Tim Hudson Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/27004) --- diff --git a/test/quic-openssl-docker/hq-interop/quic-hq-interop.c b/test/quic-openssl-docker/hq-interop/quic-hq-interop.c index bedfeb2bc73..d13ef4e833e 100644 --- a/test/quic-openssl-docker/hq-interop/quic-hq-interop.c +++ b/test/quic-openssl-docker/hq-interop/quic-hq-interop.c @@ -825,6 +825,9 @@ end: SSL_CTX_free(*ctx); SSL_free(*ssl); BIO_ADDR_free(peer_addr); + *ctx = NULL; + *ssl = NULL; + peer_addr = NULL; return 0; }