Pārlūkot izejas kodu

fix simgrid memleak

Samuel Thibault 11 gadi atpakaļ
vecāks
revīzija
0fccdd593e
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/core/simgrid.c

+ 1 - 0
src/core/simgrid.c

@@ -276,6 +276,7 @@ void _starpu_simgrid_execute_job(struct _starpu_job *j, struct starpu_perfmodel_
 			length/1000000.0*MSG_get_host_speed(MSG_host_self()),
 			0, NULL);
 	MSG_task_execute(simgrid_task);
+	MSG_task_destroy(simgrid_task);
 }
 
 /* Note: simgrid is not parallel, so there is no need to hold locks for management of transfers.  */