Explorar o código

Since the "task->cleanup" flag is set by default, there is no need to free the
task explicitely anymore.

Cédric Augonnet %!s(int64=16) %!d(string=hai) anos
pai
achega
60a0d23fe8
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/common/malloc.c

+ 0 - 1
src/common/malloc.c

@@ -71,7 +71,6 @@ void starpu_malloc_pinned_if_possible(float **A, size_t dim)
 		STARPU_ASSERT(push_res != -ENODEV);
 
 		free(cl);
-		free(task);
 #endif
 	}
 	else {