fix memory leak
This commit is contained in:
parent
dc6a96abe7
commit
c0eb95ea38
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ sched_init(int nthreads, int qlen, taskfunc f, void *closure)
|
|||
}
|
||||
}
|
||||
|
||||
free(sched.tasks);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue