No need to free twice -- thanks gd :-)
authorVolker Lendecke <vl@samba.org>
Tue, 9 Jun 2009 13:28:21 +0000 (15:28 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 9 Jun 2009 13:28:21 +0000 (15:28 +0200)
source3/passdb/pdb_ads.c

index c07003f4f71e860ea635f7cedf75151cc114a33c..4eb764f61615b39b8e9a5989dec1f5ccb65a79d8 100644 (file)
@@ -908,7 +908,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;
        }