Remove an unnecessary free call.

64954e2f34 (r47045920)

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14165)
This commit is contained in:
Pauli 2021-02-12 20:06:10 +10:00
parent 8a43091bc7
commit 09c77b87ae

View File

@ -1627,9 +1627,7 @@ void evp_pkey_free_legacy(EVP_PKEY *x)
static void evp_pkey_free_it(EVP_PKEY *x)
{
/* internal function; x is never NULL */
evp_keymgmt_util_clear_operation_cache(x, 1);
sk_OP_CACHE_ELEM_free(x->operation_cache);
#ifndef FIPS_MODULE
evp_pkey_free_legacy(x);
#endif