diff --git a/runtime/starpu/control/runtime_descriptor.c b/runtime/starpu/control/runtime_descriptor.c index 183cc2ef468dc5aa8c5d5a32eb58728a8705c7e7..d64554c11f737035f9cb501e6583f4aa90442dc9 100644 --- a/runtime/starpu/control/runtime_descriptor.c +++ b/runtime/starpu/control/runtime_descriptor.c @@ -78,7 +78,7 @@ void *RUNTIME_mat_alloc( size_t size) void RUNTIME_mat_free( void *mat, size_t size) { #if defined(CHAMELEON_SIMULATION) && !defined(STARPU_MALLOC_SIMULATION_FOLDED) && !defined(CHAMELEON_USE_MPI) - return (void*) 1; + return; #else starpu_free_flags(mat, size, STARPU_MALLOC_PINNED|FOLDED|STARPU_MALLOC_COUNT); #endif