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>
This commit is contained in:
parent
631c9def80
commit
8d9e503928
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user