Set ext_list to NULL after use.
This commit is contained in:
parent
9a193d8825
commit
3550ec4f1f
@ -131,6 +131,7 @@ int X509V3_EXT_add_alias(int nid_to, int nid_from)
|
|||||||
void X509V3_EXT_cleanup(void)
|
void X509V3_EXT_cleanup(void)
|
||||||
{
|
{
|
||||||
sk_pop_free(ext_list, ext_list_free);
|
sk_pop_free(ext_list, ext_list_free);
|
||||||
|
ext_list = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ext_list_free(X509V3_EXT_METHOD *ext)
|
static void ext_list_free(X509V3_EXT_METHOD *ext)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user