speed: Fix memory leak
authorIngo Franzki <ifranzki@linux.ibm.com>
Wed, 19 Jul 2023 12:59:16 +0000 (14:59 +0200)
committerPauli <pauli@openssl.org>
Fri, 21 Jul 2023 00:17:59 +0000 (10:17 +1000)
Free the signature stack after iterating over all found signatures.
Free the kem and signature stacks at the end of speed_main() if not
NULL.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21491)

(cherry picked from commit cc7e2b20de02959c328f96e464e5fb8b256a00e0)


No differences found