r21450: No need to TALLOC_FREE twice here.
authorGünther Deschner <gd@samba.org>
Mon, 19 Feb 2007 14:43:31 +0000 (14:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:04 +0000 (12:18 -0500)
Guenther
(This used to be commit ad063d9a944e923777e538c2cb050d47f9f8bea0)

source3/nsswitch/winbindd_async.c

index 1b357165e30971377617a7a55db4c377a4224685..cafaf1cb056484712e5403cd8c0c903b6e8324a3 100644 (file)
@@ -764,9 +764,7 @@ enum winbindd_result winbindd_dual_lookupsid(struct winbindd_domain *domain,
        }
 
        fstrcpy(state->response.data.name.dom_name, dom_name);
-       TALLOC_FREE(dom_name);
        fstrcpy(state->response.data.name.name, name);
-       TALLOC_FREE(name);
        state->response.data.name.type = type;
 
        TALLOC_FREE(dom_name);