projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
48d28d7
)
ccanlint: fix uninitialized variable
author
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 8 Jan 2011 10:13:59 +0000
(20:43 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 8 Jan 2011 10:13:59 +0000
(20:43 +1030)
tools/ccanlint/tests/tests_pass_valgrind.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/tests/tests_pass_valgrind.c
b/tools/ccanlint/tests/tests_pass_valgrind.c
index 6bb27e875a8976133e988792ef361e76bf090e28..4365f2a60227bc1a259ad4671d23efa72f87f0e9 100644
(file)
--- a/
tools/ccanlint/tests/tests_pass_valgrind.c
+++ b/
tools/ccanlint/tests/tests_pass_valgrind.c
@@
-121,6
+121,7
@@
static void do_run_tests_vg(struct manifest *m,
output = grab_file(i, "valgrind.log", NULL);
if (!output || output[0] == '\0') {
err = NULL;
output = grab_file(i, "valgrind.log", NULL);
if (!output || output[0] == '\0') {
err = NULL;
+ i->leak_info = NULL;
} else {
i->leak_info = get_leaks(output, &err);
}
} else {
i->leak_info = get_leaks(output, &err);
}