From: Richard Levitte Date: Fri, 17 Mar 2000 23:49:15 +0000 (+0000) Subject: Make sure to complete the cleanup of names. X-Git-Tag: OpenSSL_0_9_5a-beta1~23 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=ee7f80c580507a86baa9d07cc05af9e09de2bcb2 Make sure to complete the cleanup of names. --- diff --git a/crypto/evp/names.c b/crypto/evp/names.c index 3e8f460328..620f43feaa 100644 --- a/crypto/evp/names.c +++ b/crypto/evp/names.c @@ -114,5 +114,10 @@ void EVP_cleanup(void) { OBJ_NAME_cleanup(OBJ_NAME_TYPE_CIPHER_METH); OBJ_NAME_cleanup(OBJ_NAME_TYPE_MD_METH); + /* The above calls will only clean out the contents of the name + hash table, but not the hash table itself. The following line + does that part. -- Richard Levitte */ + OBJ_NAME_cleanup(-1); + EVP_PBE_cleanup(); }