summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-02-19 14:43:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:04 -0500
commitaa1259700043f5c78ac6dce548d05a7a10b61907 (patch)
treec58c7f3e964ac301157f1ee331041dd79a75a5e7
parent16a00634e972584a1040ccb128e36eb4882cc686 (diff)
downloadsamba-aa1259700043f5c78ac6dce548d05a7a10b61907.tar.gz
samba-aa1259700043f5c78ac6dce548d05a7a10b61907.tar.bz2
samba-aa1259700043f5c78ac6dce548d05a7a10b61907.zip
r21450: No need to TALLOC_FREE twice here.
Guenther (This used to be commit ad063d9a944e923777e538c2cb050d47f9f8bea0)
-rw-r--r--source3/nsswitch/winbindd_async.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_async.c b/source3/nsswitch/winbindd_async.c
index 1b357165e3..cafaf1cb05 100644
--- a/source3/nsswitch/winbindd_async.c
+++ b/source3/nsswitch/winbindd_async.c
@@ -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);