]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/quic-openssl-docker/hq-interop/quic-hq-interop.c: Move BIO_free() to err label...
authorJiasheng Jiang <jiashengjiangcool@gmail.com>
Tue, 8 Jul 2025 23:18:43 +0000 (23:18 +0000)
committerNeil Horman <nhorman@openssl.org>
Thu, 10 Jul 2025 12:03:12 +0000 (08:03 -0400)
commit13259a758ada910aec10313cd063ce54dacfc4a5
treeaf7945ee783b44fe3b7a9fbd9817c5942589c78c
parente6c20588efa755c246f52d56891a889b201a015a
test/quic-openssl-docker/hq-interop/quic-hq-interop.c: Move BIO_free() to err label to avoid memory leak

Relocate the BIO_free() call to the 'err' label to ensure the memory is properly freed in case of an error.

Fixes: ec6200bf0f ("Move hq-interop code to test/quic-openssl-docker")
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27995)
test/quic-openssl-docker/hq-interop/quic-hq-interop.c