summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-09 15:28:21 +0200
committerVolker Lendecke <vl@samba.org>2009-06-09 15:28:21 +0200
commit0302bbda359de95063a4067bfdaca031860bdaf0 (patch)
tree9f783ea44523ad5a51846aa8fe7bad652bff5094
parentfa074c99166a8999b280ccb4cebec40c42422b0b (diff)
downloadsamba-0302bbda359de95063a4067bfdaca031860bdaf0.tar.gz
samba-0302bbda359de95063a4067bfdaca031860bdaf0.tar.bz2
samba-0302bbda359de95063a4067bfdaca031860bdaf0.zip
No need to free twice -- thanks gd :-)
-rw-r--r--source3/passdb/pdb_ads.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c
index c07003f4f7..4eb764f616 100644
--- a/source3/passdb/pdb_ads.c
+++ b/source3/passdb/pdb_ads.c
@@ -909,7 +909,6 @@ static NTSTATUS pdb_ads_mod_groupmem(struct pdb_methods *m,
status = pdb_ads_sid2dn(state, &groupsid, talloc_tos(), &groupdn);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(frame);
- TALLOC_FREE(frame);
return NT_STATUS_NO_SUCH_GROUP;
}
status = pdb_ads_sid2dn(state, &membersid, talloc_tos(), &memberdn);