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);
}
struct ccanlint tests_pass_valgrind_noleaks = {
.key = "tests_pass_valgrind_noleaks",
- .name = "Module's run and api tests leak memory",
+ .name = "Module's run and api tests have no memory leaks",
.check = do_leakcheck_vg,
.needs = "tests_pass_valgrind"
};