]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/quic_multistream_test.c: Add OPENSSL_free() to avoid memory leak
authorJiasheng Jiang <jiashengjiangcool@gmail.com>
Thu, 26 Jun 2025 19:07:39 +0000 (19:07 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 1 Jul 2025 18:49:02 +0000 (20:49 +0200)
commitb63b019f6605ffbdf7cfedb7f9ad7d3ad37686a8
treeabb463b6bccf7194a7ec4a19f87d92fe97454c45
parentb2e7c4e2baa92255c57413113e96d67c23b39a34
test/quic_multistream_test.c: Add OPENSSL_free() to avoid memory leak

Add OPENSSL_free() to free bdata if an error occurs to avoid memory leak.

Fixes: a55b689499 ("Use reported short conn id len in qtestlib")
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27914)
test/quic_multistream_test.c