diff options
author | Alexander Beregalov | 2010-01-07 19:40:47 +0300 |
---|---|---|
committer | Ingo Molnar | 2010-01-13 10:09:15 +0100 |
commit | 8d9e503928638fc95317be42c416fb7907322aff (patch) | |
tree | 00e60439ed64142945438f0cc952fc640a4cab1a /tools | |
parent | 631c9def804b2c92b5cca04fb9ff7b5df9e35094 (diff) |
perf: Fix memory leak: counterwidth
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/values.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/values.c b/tools/perf/util/values.c index 1c15e39f99e3..cfa55d686e3b 100644 --- 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, |