]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/ech_test.c: avoid memory leaks in ech_api_basic_calls()
authorEugene Syromiatnikov <esyr@openssl.org>
Mon, 23 Feb 2026 05:42:00 +0000 (06:42 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 25 Feb 2026 11:10:24 +0000 (12:10 +0100)
commitf6c9ce7e671257dc9663ef02b2ab28edc19b4c5d
treef98d3db9e02b92135b5b9ae13059a5c0f448901b
parent2f4ef4a912f2fd0548ebb46d2c274a908acd0a72
test/ech_test.c: avoid memory leaks in ech_api_basic_calls()

rinner and router should be freed after successful SSL_ech_get1_status()
calls.

Resolves: https://scan5.scan.coverity.com/#/project-view/65248/10222?selectedIssue=1681465
Resolves: https://scan5.scan.coverity.com/#/project-view/65248/10222?selectedIssue=1681466
Fixes: 5e5a76fc2c08 "Add tests and documentation and fix a couple of issues identified by added tests"
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
MergeDate: Wed Feb 25 11:10:58 2026
(Merged from https://github.com/openssl/openssl/pull/30139)
test/ech_test.c