Browse Source

Add a call to starpu_task_destroy() in order to avoid a memory leak.

Cyril Roelandt 13 years ago
parent
commit
83318d642b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/core/starpu_worker_exists.c

+ 1 - 0
tests/core/starpu_worker_exists.c

@@ -82,6 +82,7 @@ main(void)
 	if (ret)
 		return EXIT_FAILURE;
 
+	starpu_task_destroy(task);
 	starpu_shutdown();
 
 	return EXIT_SUCCESS;