From 8bb2b294f384753a1ac78ed722a38336e4ad191f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 13 May 2005 09:10:00 +0000 Subject: r6770: Fix bug 2705. Thanks, John, for beating my stuff :-) Volker (This used to be commit f406dda687b457b8247151cf86d39f03608b5503) --- source3/passdb/pdb_ldap.c | 2 -- 1 file changed, 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; -- cgit