diff options
author | Pauli <pauli@openssl.org> | 2022-03-16 14:07:45 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-03-23 11:08:56 +1100 |
commit | 6889ebff01fa8cd7e5905f3f242edfed55fca443 (patch) | |
tree | ebab1def82933d3368f64633401931e43a40f92b /test | |
parent | 09134f183f76539aa1294adfef10fcc694e90267 (diff) |
Fix Coverity 1498613: resource leak
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17891)
Diffstat (limited to 'test')
-rw-r--r-- | test/helpers/handshake.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/helpers/handshake.c b/test/helpers/handshake.c index 0e503017aa..c415e29f99 100644 --- a/test/helpers/handshake.c +++ b/test/helpers/handshake.c @@ -1436,6 +1436,7 @@ static HANDSHAKE_RESULT *do_handshake_internal( test_ctx, extra, &server_ctx_data, &server2_ctx_data, &client_ctx_data)) { TEST_note("configure_handshake_ctx"); + HANDSHAKE_RESULT_free(ret); return NULL; } |