Browse Source

_starpu_fetch_task_input: Call _STARPU_TRACE_END_FETCH_INPUT on error.

Cyril Roelandt 13 years ago
parent
commit
2afba726aa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/datawizard/coherency.c

+ 1 - 0
src/datawizard/coherency.c

@@ -683,6 +683,7 @@ int _starpu_fetch_task_input(struct _starpu_job *j, uint32_t mask)
 	return 0;
 
 enomem:
+	_STARPU_TRACE_END_FETCH_INPUT(NULL);
 	/* try to unreference all the input that were successfully taken */
 	/* XXX broken ... */
 	_STARPU_DISP("something went wrong with buffer %u\n", index);