diff options
author | Pauli <pauli@openssl.org> | 2022-03-16 14:07:45 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-03-23 11:09:42 +1100 |
commit | 91941cc1d67209e0b30401240b2065785b21b04e (patch) | |
tree | 6e343196a8370074feb6f922c64bc90632f7d278 /test | |
parent | 9d24e7bae79668ba60af9458f9db74a3493f3655 (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)
(cherry picked from commit 6889ebff01fa8cd7e5905f3f242edfed55fca443)
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 64b6919f70..285391bc03 100644 --- a/test/helpers/handshake.c +++ b/test/helpers/handshake.c @@ -1432,6 +1432,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; } |