commit | 574799bfdbc3a13e0b5e2f6af34b761bde743a9a | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Mon Mar 17 10:45:49 2014 +0900 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Tue Mar 18 18:17:01 2014 -0300 |
tree | ba56c148f77f645414ff46f2d86d111415372874 | |
parent | 11c9abf2270793bd1c1b8828edb4223f8010e56c [diff] |
perf tools: Fix memory leak when synthesizing thread records Checking default guest machine should be done before allocating event structures otherwise it'll leak memory. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Don Zickus <dzickus@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Joe Mario <jmario@redhat.com> Link: http://lkml.kernel.org/r/87ob15tx6a.fsf@sejong.aot.lge.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>