aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2012-11-21 13:43:19 +0900
committerArnaldo Carvalho de Melo <[email protected]>2012-12-09 08:46:05 -0300
commit03cd20949964f5cda600a56e12ffac39dfec4cb0 (patch)
tree927836caa449f4062108090d023f5b8883bc49c5 /tools/perf/scripts/python
parent3cde41b0d63d0550ac9c8352f1ce0ea516690f46 (diff)
perf session: Free environment information when deleting session
The perf session environment information was saved (so allocated) during perf_session__open, but was not freed. As free(3) handles NULL pointer input properly it won't cause a issue for writing modes - e.g. perf record Signed-off-by: Namhyung Kim <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Feng Tang <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions