summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/providers/ldap/ldap_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index f7ad7118..0bf21d77 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -177,6 +177,8 @@ sdap_domain_remove(struct sdap_options *opts,
if (sdom == NULL) return;
DLIST_REMOVE(*(sdom->head), sdom);
+
+ talloc_free(sdom);
}
int ldap_get_options(TALLOC_CTX *memctx,