projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf env: Fix memory leak of cpu_pmu_caps
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
env.c
diff --git
a/tools/perf/util/env.c
b/tools/perf/util/env.c
index
6c76594
..
cec2e6c
100644
(file)
--- a/
tools/perf/util/env.c
+++ b/
tools/perf/util/env.c
@@
-191,6
+191,7
@@
void perf_env__exit(struct perf_env *env)
zfree(&env->sibling_threads);
zfree(&env->pmu_mappings);
zfree(&env->cpu);
+ zfree(&env->cpu_pmu_caps);
zfree(&env->numa_map);
for (i = 0; i < env->nr_numa_nodes; i++)