mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Handle LDAP_INT_GLOBAL_OPT() failure in ldap_int_destroy_global_options()
This commit is contained in:
parent
6c1bbc2816
commit
2e19c67235
1 changed files with 3 additions and 0 deletions
|
|
@ -397,6 +397,9 @@ ldap_int_destroy_global_options(void)
|
|||
{
|
||||
struct ldapoptions *gopts = LDAP_INT_GLOBAL_OPT();
|
||||
|
||||
if ( gopts == NULL )
|
||||
return;
|
||||
|
||||
gopts->ldo_valid = LDAP_UNINITIALIZED;
|
||||
|
||||
if ( gopts->ldo_defludp ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue