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/gentest.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/gentest.c')
-rw-r--r-- | source4/torture/gentest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c index 0ee60f8a18..b8dc2362ea 100644 --- a/source4/torture/gentest.c +++ b/source4/torture/gentest.c @@ -1970,7 +1970,7 @@ static int run_test(void) current_op.opnum = op; current_op.name = gen_ops[which_op].name; current_op.status = NT_STATUS_OK; - current_op.mem_ctx = talloc_init("%s", current_op.name); + current_op.mem_ctx = talloc_named(NULL, 0, "%s", current_op.name); ret = gen_ops[which_op].handler(instance); |