commit | ae450a7d054cd1fe8d003a085858ca5b90cc74d9 | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Thu Apr 10 12:02:54 2014 +0300 |
committer | Jiri Olsa <jolsa@redhat.com> | Tue Apr 15 13:57:14 2014 +0200 |
tree | db194596629f6517d02d37259990ffda1e4cfcba | |
parent | fbdd17ec5ce2e5e4027356fcfde769b88d15702f [diff] |
perf tools: Fix double free in perf test 21 (code-reading.c) perf_evlist__delete() deletes attached cpu and thread maps but the test is still using them, so remove them from the evlist before deleting it. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Link: http://lkml.kernel.org/r/53465E3E.8070201@intel.com Signed-off-by: Jiri Olsa <jolsa@redhat.com>