소스 검색

Fix destroying the task when it failed to be submitted

Samuel Thibault 13 년 전
부모
커밋
2dc547f6a2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/datawizard/interfaces/test_interfaces.c

+ 1 - 0
tests/datawizard/interfaces/test_interfaces.c

@@ -558,6 +558,7 @@ ram_to_ram(void)
 	if (err != 0)
 	{
 		err = TASK_SUBMISSION_FAILURE;
+		task->destroy = 0;
 		starpu_task_destroy(task);
 		goto out;
 	}