Set ext_list to NULL after use.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 23 May 1999 12:02:18 +0000 (12:02 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 23 May 1999 12:02:18 +0000 (12:02 +0000)
crypto/x509v3/v3_lib.c

index 6d5e499..a0aa5de 100644 (file)
@@ -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)