On Tue, 12 Mar 2019, Daniel Wagner wrote: > Signed-off-by: Daniel Wagner <daniel.wagner@xxxxxxxxxxx> > --- > src/sched_deadline/deadline_test.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/src/sched_deadline/deadline_test.c b/src/sched_deadline/deadline_test.c > index 1b72c6097a87..04984d997f58 100644 > --- a/src/sched_deadline/deadline_test.c > +++ b/src/sched_deadline/deadline_test.c > @@ -2092,8 +2092,12 @@ int main (int argc, char **argv) > printf("\n"); > } > > - if (!setcpu_buf) > + if (setcpu_buf) > free(setcpu_buf); > + free(thread); > + free(sched_data); > + > + CPU_FREE(cpusetp); > > return 0; > } > -- > 2.20.1 > > Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>