From: Howard Chu Date: Mon, 31 Dec 2001 14:47:41 +0000 (+0000) Subject: Free any ADs attached to the undefined attribute type X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~388 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c96274326368dc961c353755c4c596c9e76476f6;p=openldap Free any ADs attached to the undefined attribute type --- diff --git a/servers/slapd/at.c b/servers/slapd/at.c index cc58efeda0..8925dd1984 100644 --- a/servers/slapd/at.c +++ b/servers/slapd/at.c @@ -204,6 +204,7 @@ 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); } static int