Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ae450a7d authored by Adrian Hunter's avatar Adrian Hunter Committed by Jiri Olsa
Browse files

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: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: http://lkml.kernel.org/r/53465E3E.8070201@intel.com


Signed-off-by: default avatarJiri Olsa <jolsa@redhat.com>
parent fbdd17ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment