]> git.ipfire.org Git - thirdparty/openssl.git/commit
speed: Fix memory leaks
authorIngo Franzki <ifranzki@linux.ibm.com>
Mon, 16 Oct 2023 12:06:04 +0000 (14:06 +0200)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Oct 2023 08:24:29 +0000 (09:24 +0100)
commit4e09305ee092dea14b7d4feb3fac2889b41428f3
treef12c55cb48a1011ad83ef010d34ebf3ed9e40ce6
parent66f4782f1452d6fbfab78822b340a99aaeacc2f0
speed: Fix memory leaks

Free the PKEYs created for KEM and signature algorithms.
Free the encrypt/decrypt PKEY contexts for RSA.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/22399)
apps/speed.c