Add OPENSSL_free at the end of CRYPTO_destroy_dynlockid.