X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_pass_valgrind.c;h=73a05410524ce5c55ca7e49ff952e904690ac600;hp=773a85e66a5a17aca87595bb0ca8f67441158a2e;hb=aabf300e324f7da5134d7ad45afba11225045c24;hpb=44b37ee8aeb185f6837378fef17d887bda6ff89b diff --git a/tools/ccanlint/tests/tests_pass_valgrind.c b/tools/ccanlint/tests/tests_pass_valgrind.c index 773a85e6..73a05410 100644 --- a/tools/ccanlint/tests/tests_pass_valgrind.c +++ b/tools/ccanlint/tests/tests_pass_valgrind.c @@ -3,7 +3,6 @@ #include #include #include -#include #include #include "tests_pass.h" #include @@ -180,7 +179,7 @@ static void do_run_tests_vg(struct manifest *m, continue; } - output = grab_file(i, i->valgrind_log, NULL); + output = talloc_grab_file(i, i->valgrind_log, NULL); /* No valgrind errors? */ if (!output || output[0] == '\0') { err = NULL;