瀏覽代碼

fix simgrid memleak

Samuel Thibault 11 年之前
父節點
當前提交
0fccdd593e
共有 1 個文件被更改,包括 1 次插入0 次删除
  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.  */