소스 검색

Fix memory leak

Samuel Thibault 11 년 전
부모
커밋
77b58f8dd8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/datawizard/filters.c

+ 1 - 0
src/datawizard/filters.c

@@ -317,6 +317,7 @@ void starpu_data_unpartition(starpu_data_handle_t root_handle, unsigned gatherin
 		int ret;
 		/* Acquire the child data. This will may trigger collapsing a reduction */
 		ret = starpu_data_acquire_on_node(child_handle, gathering_node, STARPU_RW);
+		_starpu_unlock_post_sync_tasks(child_handle);
 		/* for now we pretend that the RAM is almost unlimited and that gathering
 		 * data should be possible from the node that does the unpartionning ... we
 		 * don't want to have the programming deal with memory shortage at that time,