Skip to content
Snippets Groups Projects
Commit 78a4dbbc authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fixed memory leak in scheduler_write_dependencies()

parent 523194f2
Branches
Tags
No related merge requests found
......@@ -380,10 +380,13 @@ void scheduler_write_dependencies(struct scheduler *s, int verbose) {
}
}
/* Be clean */
/* Close the file */
fprintf(f, "}");
fclose(f);
/* Be clean */
free(table);
free(count_rel);
if (verbose)
message("Printing task graph took %.3f %s.",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment