From 3550ec4f1ff6f259c92a5ef649974a0c8ce851b8 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 23 May 1999 12:02:18 +0000 Subject: [PATCH] Set ext_list to NULL after use. --- crypto/x509v3/v3_lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/x509v3/v3_lib.c b/crypto/x509v3/v3_lib.c index 6d5e499a30..a0aa5de794 100644 --- a/crypto/x509v3/v3_lib.c +++ b/crypto/x509v3/v3_lib.c @@ -131,6 +131,7 @@ int X509V3_EXT_add_alias(int nid_to, int nid_from) void X509V3_EXT_cleanup(void) { sk_pop_free(ext_list, ext_list_free); + ext_list = NULL; } static void ext_list_free(X509V3_EXT_METHOD *ext) -- 2.25.1