Prechádzať zdrojové kódy

Fix destroying the task when it failed to be submitted

Samuel Thibault 13 rokov pred
rodič
commit
2dc547f6a2

+ 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;
 	}