From: Ingo Franzki Date: Wed, 19 Jul 2023 12:59:16 +0000 (+0200) Subject: speed: Fix memory leak X-Git-Tag: openssl-3.1.2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=405d11acf34963e3bb3005425400f14bcb9bffd5;p=thirdparty%2Fopenssl.git speed: Fix memory leak 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 Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/21491) (cherry picked from commit cc7e2b20de02959c328f96e464e5fb8b256a00e0) ---