git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8468137
)
s4/torture: Suppress Valgrind warnings
author
Kamen Mazdrashki
<kamenim@samba.org>
Mon, 29 Mar 2010 21:13:46 +0000
(
00:13
+0300)
committer
Kamen Mazdrashki
<kamen.mazdrashki@postpath.com>
Thu, 8 Apr 2010 23:45:08 +0000
(
02:45
+0300)
This patch suppresses two Valgrind warnings of type
"xxx bytes in yy blocks are indirectly lost in loss record"
source4/torture/smbtorture.c
patch
|
blob
|
history
diff --git
a/source4/torture/smbtorture.c
b/source4/torture/smbtorture.c
index 2aa340ee36988dc92fd4e4b767b72dd9a57f3d83..d3b1fead4871b458e87c82cb9d4d2dedd16998a8 100644
(file)
--- 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");