summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/ldap_server/ldap_backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index a091c1d11e..3af48ae20d 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -89,7 +89,7 @@ NTSTATUS ldapsrv_backend_Init(struct ldapsrv_connection *conn)
j++;
}
}
- talloc_free(ops);
+ talloc_unlink(conn, ops);
ldb_set_opaque(conn->ldb, "supportedSASLMechanims", sasl_mechs);
}