diff options
author | Patrick Steuer <patrick.steuer@de.ibm.com> | 2017-12-04 10:23:24 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-12-04 10:23:24 -0500 |
commit | a00cceb22ca2bbe394e235345760d1fe54ee2eea (patch) | |
tree | 950e8292085332dec46212fd9eb8126073b16bff /apps/speed.c | |
parent | 546fda260e66a3b252f34760afa2c3aaf2f62d5d (diff) |
key_A and key_B had 3 references, only 2 were freed.
Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4837)
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c index bca2968aa8..271472eb09 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -2819,6 +2819,8 @@ int speed_main(int argc, char **argv) loopargs[i].ecdh_ctx[testnum] = ctx; loopargs[i].outlen[testnum] = outlen; + EVP_PKEY_free(key_A); + EVP_PKEY_free(key_B); EVP_PKEY_CTX_free(kctx); kctx = NULL; EVP_PKEY_CTX_free(test_ctx); |