Pārlūkot izejas kodu

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

Cédric Augonnet 16 gadi atpakaļ
vecāks
revīzija
60a0d23fe8
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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 {