projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89da393
)
perf hists: Free srcline when freeing hist_entry
author
Namhyung Kim
<
[email protected]
>
Wed, 11 Sep 2013 05:09:27 +0000
(14:09 +0900)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 9 Oct 2013 18:58:28 +0000
(15:58 -0300)
We've been leaked srcline of hist_entry, it should be freed also.
Signed-off-by: Namhyung Kim <
[email protected]
>
Reviewed-by: Jiri Olsa <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/hist.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/hist.c
b/tools/perf/util/hist.c
index f3278a388e9a916c5e3c95f940f0fcc5be20b82d..e6fc38a86e2c6e0b934719fe7b9c439d138dd480 100644
(file)
--- a/
tools/perf/util/hist.c
+++ b/
tools/perf/util/hist.c
@@
-535,6
+535,7
@@
void hist_entry__free(struct hist_entry *he)
{
free(he->branch_info);
free(he->mem_info);
+ free(he->srcline);
free(he);
}