summaryrefslogtreecommitdiffstats
path: root/ldap_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap_driver.c')
-rw-r--r--ldap_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldap_driver.c b/ldap_driver.c
index e977d2e..6044f74 100644
--- a/ldap_driver.c
+++ b/ldap_driver.c
@@ -1066,6 +1066,8 @@ dynamic_driver_init(isc_mem_t *mctx, const char *name, const char * const *argv,
cleanup:
if (ldap_db != NULL)
destroy_ldap_db(&ldap_db);
+ if (ldap_cache != NULL)
+ destroy_ldap_cache(&ldap_cache);
return result;
}