Skip to content
Snippets Groups Projects
Commit 9c9b9c84 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Merge branch 'scheduler_fix' into 'master'

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

Fixes the bungled push to master I did just recently.

See merge request !74
parents 0b33a4ca d144ee88
Branches
Tags
1 merge request!136Master
......@@ -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