diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-07-01 14:02:37 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-07-01 15:15:37 +1000 |
commit | 2d981919b8dd63655a39ccaa4fd7bdb39d1830f6 (patch) | |
tree | 11f2215d332ce1c71896745ca31bfa9615d36616 /source4/ldap_server | |
parent | 45ba09457eadc8832ff40d2f8c0d5a6cc14ae3f3 (diff) | |
download | samba-2d981919b8dd63655a39ccaa4fd7bdb39d1830f6.tar.gz |
use a talloc_unlink() as ops may have a reference
Diffstat (limited to 'source4/ldap_server')
-rw-r--r-- | source4/ldap_server/ldap_backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c index a091c1d11e9..3af48ae20d9 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); } |