Fix a few erroneous double frees in quic-hq-interop

Uncovered during testing for openssl/project#1130

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27004)
This commit is contained in:
Neil Horman 2025-03-07 15:09:48 -05:00 committed by Alexandr Nedvedicky
parent 8f74d8cee3
commit 0cfbeba8ed

View file

@ -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;
}