projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
631c9de
)
perf: Fix memory leak: counterwidth
author
Alexander Beregalov
<a.beregalov@gmail.com>
Thu, 7 Jan 2010 16:40:47 +0000
(19:40 +0300)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 13 Jan 2010 09:09:15 +0000
(10:09 +0100)
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Cc: a.p.zijlstra@chello.nl
Cc: paulus@samba.org
LKML-Reference: <
1262882447
-23776-2-git-send-email-a.beregalov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/values.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/values.c
b/tools/perf/util/values.c
index 1c15e39f99e3c90b4b6b974078685e45269491bc..cfa55d686e3b9689fd6bfce089fb9d7207e85ab9 100644
(file)
--- a/
tools/perf/util/values.c
+++ b/
tools/perf/util/values.c
@@
-169,6
+169,7
@@
static void perf_read_values__display_pretty(FILE *fp,
counterwidth[j], values->value[i][j]);
fprintf(fp, "\n");
}
+ free(counterwidth);
}
static void perf_read_values__display_raw(FILE *fp,