aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-05-23 12:02:18 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-05-23 12:02:18 +0000
commit3550ec4f1ff6f259c92a5ef649974a0c8ce851b8 (patch)
treeec2f9d653b570a767d6768366c8f147e6d5ca638
parent9a193d88250a38fd4dc5094ec4b501598cd23009 (diff)
downloadopenssl-3550ec4f1ff6f259c92a5ef649974a0c8ce851b8.tar.gz
Set ext_list to NULL after use.
-rw-r--r--crypto/x509v3/v3_lib.c1
1 files changed, 1 insertions, 0 deletions
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)