Commit b094c99e authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Arnaldo Carvalho de Melo

perf bench sched-messaging: Plug memleak

Explicitly free the thread array ('pth_tab').
Signed-off-by: default avatarDavidlohr Bueso <davidlohr@hp.com>
Cc: Aswin Chandramouleeswaran <aswin@hp.com>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1402942467-10671-5-git-send-email-davidlohr@hp.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 89632972
...@@ -332,5 +332,7 @@ int bench_sched_messaging(int argc, const char **argv, ...@@ -332,5 +332,7 @@ int bench_sched_messaging(int argc, const char **argv,
break; break;
} }
free(pth_tab);
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment