diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-31 09:26:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:57 -0500 |
commit | 722d20f4ddef98ba8f305ea858c54e5df54ca27c (patch) | |
tree | 444f5a6845909d995e5744dfef22c52ddf421234 /source4/torture/smbtorture.c | |
parent | cca9dbb66f605edc950dc048eb51cc39d14a01d3 (diff) | |
download | samba-722d20f4ddef98ba8f305ea858c54e5df54ca27c.tar.gz samba-722d20f4ddef98ba8f305ea858c54e5df54ca27c.tar.bz2 samba-722d20f4ddef98ba8f305ea858c54e5df54ca27c.zip |
r17958: as talloc_init() enabled null tracking, we should avoid to use it
in smbtorture, and in the LOCAL-TALLOC we should reset the null tracking
also make bin/smbtorture //url/foo LOCAL-TALLOC LOCAL-TALLOC possible
metze
(This used to be commit d1dd3df5e4fd21f5cbd00e472438fe3eadb266e5)
Diffstat (limited to 'source4/torture/smbtorture.c')
-rw-r--r-- | source4/torture/smbtorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index 8d7552e075..d66e11b01b 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -195,7 +195,7 @@ static void usage(poptContext pc) static BOOL is_binding_string(const char *binding_string) { - TALLOC_CTX *mem_ctx = talloc_init("is_binding_string"); + TALLOC_CTX *mem_ctx = talloc_named_const(NULL, 0, "is_binding_string"); struct dcerpc_binding *binding_struct; NTSTATUS status; |