summaryrefslogtreecommitdiff
path: root/source4/torture/ldap
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r--source4/torture/ldap/basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ldap/basic.c b/source4/torture/ldap/basic.c
index 8b1aca05f4..99f79c8c50 100644
--- a/source4/torture/ldap/basic.c
+++ b/source4/torture/ldap/basic.c
@@ -225,7 +225,7 @@ BOOL torture_ldap_basic(void)
/* no more test we are closing */
- talloc_destroy(mem_ctx);
+ talloc_free(mem_ctx);
torture_ldap_close(conn);