projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf evsel: Fix order of event list deletion
[linux-flexiantxendom0-natty.git]
/
tools
/
perf
/
builtin-top.c
diff --git
a/tools/perf/builtin-top.c
b/tools/perf/builtin-top.c
index
6ce4042
..
4b995ee
100644
(file)
--- a/
tools/perf/builtin-top.c
+++ b/
tools/perf/builtin-top.c
@@
-1490,6
+1490,7
@@
int cmd_top(int argc, const char **argv, const char *prefix __used)
out_free_fd:
list_for_each_entry(pos, &evsel_list, node)
perf_evsel__free_mmap(pos);
+ perf_evsel_list__delete();
return status;
}