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 tools: Use zfree() where applicable
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
thread_map.c
diff --git
a/tools/perf/util/thread_map.c
b/tools/perf/util/thread_map.c
index
c291874
..
5b3511f
100644
(file)
--- a/
tools/perf/util/thread_map.c
+++ b/
tools/perf/util/thread_map.c
@@
-480,7
+480,7
@@
int thread_map__remove(struct thread_map *threads, int idx)
/*
* Free the 'idx' item and shift the rest up.
*/
-
free(
threads->map[idx].comm);
+
zfree(&
threads->map[idx].comm);
for (i = idx; i < threads->nr - 1; i++)
threads->map[i] = threads->map[i + 1];