瀏覽代碼

mpi/src/starpu_mpi.c: free allocated memory

Nathalie Furmento 10 年之前
父節點
當前提交
498671e208
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      mpi/src/starpu_mpi.c

+ 1 - 0
mpi/src/starpu_mpi.c

@@ -247,6 +247,7 @@ static void _starpu_mpi_submit_ready_request(void *arg)
 						STARPU_MPI_ASSERT_MSG(req->ptr, "cannot allocate message of size %ld\n", req->count);
 						STARPU_MPI_ASSERT_MSG(req->ptr, "cannot allocate message of size %ld\n", req->count);
 					}
 					}
 					_starpu_mpi_req_list_push_front(ready_requests, req);
 					_starpu_mpi_req_list_push_front(ready_requests, req);
+					free(sync_req);
 				}
 				}
 				else
 				else
 				{
 				{