summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-01 14:02:37 +1000
committerAndrew Tridgell <tridge@samba.org>2009-07-01 15:15:37 +1000
commit2d981919b8dd63655a39ccaa4fd7bdb39d1830f6 (patch)
tree11f2215d332ce1c71896745ca31bfa9615d36616
parent45ba09457eadc8832ff40d2f8c0d5a6cc14ae3f3 (diff)
downloadsamba-2d981919b8dd63655a39ccaa4fd7bdb39d1830f6.tar.gz
samba-2d981919b8dd63655a39ccaa4fd7bdb39d1830f6.tar.bz2
samba-2d981919b8dd63655a39ccaa4fd7bdb39d1830f6.zip
use a talloc_unlink() as ops may have a reference
-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);
}