mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 05:30:07 -05:00
Fix at_destroy free of slap_schema.si_at_undefined (when it's NULL)
This commit is contained in:
parent
996eb58011
commit
5fd983725e
1 changed files with 2 additions and 1 deletions
|
|
@ -204,7 +204,8 @@ at_destroy( void )
|
|||
ldap_pvt_thread_mutex_destroy(&a->sat_ad_mutex);
|
||||
ldap_attributetype_free((LDAPAttributeType *)a);
|
||||
}
|
||||
ad_destroy(slap_schema.si_at_undefined->sat_ad);
|
||||
if ( slap_schema.si_at_undefined )
|
||||
ad_destroy(slap_schema.si_at_undefined->sat_ad);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue