Explorar o código

fix simgrid memleak

Samuel Thibault %!s(int64=11) %!d(string=hai) anos
pai
achega
0fccdd593e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.  */