diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-03-30 00:13:46 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2010-04-09 02:45:08 +0300 |
commit | 8126c78c76965fe6158fb8ef426abf256551e725 (patch) | |
tree | b08489824307b3ff63006b30e0e7b22bc8bb821c | |
parent | 846813797d3bba612492a5600cbe638388760ccf (diff) | |
download | samba-8126c78c76965fe6158fb8ef426abf256551e725.tar.gz samba-8126c78c76965fe6158fb8ef426abf256551e725.tar.bz2 samba-8126c78c76965fe6158fb8ef426abf256551e725.zip |
s4/torture: Suppress Valgrind warnings
This patch suppresses two Valgrind warnings of type
"xxx bytes in yy blocks are indirectly lost in loss record"
-rw-r--r-- | source4/torture/smbtorture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index 2aa340ee36..d3b1fead48 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -641,7 +641,8 @@ int main(int argc,char *argv[]) results = torture_results_init(talloc_autofree_context(), ui_ops); - torture = torture_context_init(s4_event_context_init(NULL), results); + torture = torture_context_init(s4_event_context_init(talloc_autofree_context()), + results); if (basedir != NULL) { if (basedir[0] != '/') { fprintf(stderr, "Please specify an absolute path to --basedir\n"); |