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 6d5e499a3042ee20c1bc3dca1ad74590da83d07f..a0aa5de794de745e829c8135b1f52761e335cf1d 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)