From 2d981919b8dd63655a39ccaa4fd7bdb39d1830f6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 1 Jul 2009 14:02:37 +1000 Subject: use a talloc_unlink() as ops may have a reference --- source4/ldap_server/ldap_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/ldap_server') 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); } -- cgit