Commit 8d9e5039 authored by Alexander Beregalov's avatar Alexander Beregalov Committed by Ingo Molnar

perf: Fix memory leak: counterwidth

Signed-off-by: default avatarAlexander 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: default avatarIngo Molnar <mingo@elte.hu>
parent 631c9def
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment