aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2015-08-10 12:17:34 +0000
committerIngo Molnar <[email protected]>2015-08-12 09:37:22 +0000
commitdbc72b7a0c673ff00fdeb21d3a26064e2185baf4 (patch)
tree7dc5bf5f492b24fe6eecb7058292fa1eb532e00e /tools/perf/scripts/python
parentperf: Fix PERF_EVENT_IOC_PERIOD migration race (diff)
downloadkernel-dbc72b7a0c673ff00fdeb21d3a26064e2185baf4.tar.gz
kernel-dbc72b7a0c673ff00fdeb21d3a26064e2185baf4.zip
perf/x86/intel: Fix memory leak on hot-plug allocation fail
We fail to free the shared_regs allocation if the constraint_list allocation fails. Cure this and be more consistent in NULL-ing the pointers after free. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions