summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-05-13 09:10:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:54 -0500
commit8bb2b294f384753a1ac78ed722a38336e4ad191f (patch)
treeed6805a1478da38d637179900f2210eb9fc8335d
parent70490aae0ca36608e4b230a03faa4d8aba36d91d (diff)
downloadsamba-8bb2b294f384753a1ac78ed722a38336e4ad191f.tar.gz
samba-8bb2b294f384753a1ac78ed722a38336e4ad191f.tar.bz2
samba-8bb2b294f384753a1ac78ed722a38336e4ad191f.zip
r6770: Fix bug 2705. Thanks, John, for beating my stuff :-)
Volker (This used to be commit f406dda687b457b8247151cf86d39f03608b5503)
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index d8c7565b64..eb459f963b 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -3098,8 +3098,6 @@ static NTSTATUS ldapsam_alias_memberships(struct pdb_methods *methods,
rc = smbldap_search(ldap_state->smbldap_state, lp_ldap_group_suffix(),
LDAP_SCOPE_SUBTREE, filter, attrs, 0, &result);
- talloc_destroy(mem_ctx);
-
if (rc != LDAP_SUCCESS)
return NT_STATUS_UNSUCCESSFUL;