diff options
-rw-r--r-- | tools/ccanlint/tests/tests_pass_valgrind.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ccanlint/tests/tests_pass_valgrind.c b/tools/ccanlint/tests/tests_pass_valgrind.c index 6bb27e87..4365f2a6 100644 --- 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; + i->leak_info = NULL; } else { i->leak_info = get_leaks(output, &err); } |