Don't leave _info.NNNN files lying arond
[ccan] / tools / run_tests.c
index eab42add8dfb06a6cf623181d37a30a7b3811298..b9a6f66c4cd910acf6d4db0ff6f13e16be86b726 100644 (file)
@@ -106,7 +106,7 @@ static int build(const char *dir, const char *name, int fail)
        char *externals = talloc_strdup(name, "");
        char **deps;
 
-       for (deps = get_deps(objs, dir); *deps; deps++) {
+       for (deps = get_deps(talloc_autofree_context(), dir); *deps; deps++) {
                if (!strstarts(*deps, "ccan/"))
                        continue;