Samuel Thibault 13 years ago
parent
commit
b8a6b8b529
1 changed files with 1 additions and 0 deletions
  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)
 	if (err != 0)
 	{
 	{
 		err = TASK_SUBMISSION_FAILURE;
 		err = TASK_SUBMISSION_FAILURE;
+		starpu_task_destroy(task);
 		goto out;
 		goto out;
 	}
 	}