X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_pass.c;h=e1dfba6aee63534430895430cccaa183f63dcf90;hp=6ec17396167122eb89eee33b14c3e5bae9543e24;hb=af5b1a18948345c5f9f9abf4eda3ab9fe0aa9a9f;hpb=bffcda423dca2b3652ec7c6dc8e3f37e3d981be7 diff --git a/tools/ccanlint/tests/tests_pass.c b/tools/ccanlint/tests/tests_pass.c index 6ec17396..e1dfba6a 100644 --- a/tools/ccanlint/tests/tests_pass.c +++ b/tools/ccanlint/tests/tests_pass.c @@ -63,8 +63,6 @@ static void run_test(void *ctx, i->valgrind_log = talloc_asprintf(m, "%s.valgrind-log", i->compiled[COMPILE_NORMAL]); - talloc_set_destructor(i->valgrind_log, - unlink_file_destructor); run_command_async(i, *timeleft, "valgrind -q" @@ -83,7 +81,6 @@ static void run_test(void *ctx, } static void do_run_tests(struct manifest *m, - bool keep, unsigned int *timeleft, struct score *score) {