Skip to content
Snippets Groups Projects
Commit d144ee88 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

init tasks and tasks_ind to make sure they're not freed.

parent 461885a4
No related branches found
No related tags found
2 merge requests!136Master,!74init tasks and tasks_ind to make sure they're not freed.
......@@ -1303,5 +1303,7 @@ void scheduler_init(struct scheduler *s, struct space *space, int nr_tasks,
/* Init the tasks array. */
s->size = 0;
s->tasks = NULL;
s->tasks_ind = NULL;
scheduler_reset(s, nr_tasks);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment