]> git.sur5r.net Git - openldap/commitdiff
Free any ADs attached to the undefined attribute type
authorHoward Chu <hyc@openldap.org>
Mon, 31 Dec 2001 14:47:41 +0000 (14:47 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 31 Dec 2001 14:47:41 +0000 (14:47 +0000)
servers/slapd/at.c

index cc58efeda0ba2724fa3cb8033cfd10c4d0a9b941..8925dd1984de0b56fe47ce27e99211cee2786631 100644 (file)
@@ -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