diff --git a/crypto/x509v3/v3_purp.c b/crypto/x509v3/v3_purp.c index ab3fd7e6b04e965cf4de8fbe2b52ea3875a0eb45..fff099474e5d091bcac130a8cca696f9da0a276b 100644 --- a/crypto/x509v3/v3_purp.c +++ b/crypto/x509v3/v3_purp.c @@ -229,10 +229,7 @@ static void xptable_free(X509_PURPOSE *p) void X509_PURPOSE_cleanup(void) { - unsigned int i; sk_X509_PURPOSE_pop_free(xptable, xptable_free); - for (i = 0; i < X509_PURPOSE_COUNT; i++) - xptable_free(xstandard + i); xptable = NULL; }