@@ -22,7 +22,7 @@
static struct starpu_task *create_task(starpu_tag_t id)
{
- starpu_codelet *cl = calloc(sizeof(starpu_codelet));
+ starpu_codelet *cl = calloc(1,sizeof(starpu_codelet));
struct starpu_task *task = starpu_task_create();
task->cl = cl;