Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
better to close file
[simgrid.git] / src / simdag / sd_dotloader.c
index 47cb4cae6edac8c79e92d9de7e55b243332d4e2b..79f8642fc3a24aeb12bc40497ae52fd40553851f 100644 (file)
@@ -357,6 +357,7 @@ xbt_dynar_t SD_dotload_generic(const char * filename, seq_par_t seq_or_par){
 
   agclose(dag_dot);
   xbt_dict_free(&jobs);
+  fclose(in_file);
 
   if (!acyclic_graph_detail(result)) {
     XBT_ERROR("The DOT described in %s is not a DAG. It contains a cycle.",