From 30d5682cc59801c553d71c2d9ababbbd48578576 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 8 Jan 2011 20:43:59 +1030 Subject: [PATCH] ccanlint: fix uninitialized variable --- tools/ccanlint/tests/tests_pass_valgrind.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.39.2