From c96274326368dc961c353755c4c596c9e76476f6 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 31 Dec 2001 14:47:41 +0000 Subject: [PATCH] Free any ADs attached to the undefined attribute type --- servers/slapd/at.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5