diff options
| author | Thomas Gleixner <[email protected]> | 2016-02-16 22:04:41 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-02-17 07:36:09 +0000 |
| commit | 8bc9162cd2bf37036c486b384ac445b59b334b04 (patch) | |
| tree | c2a9c71c53b0b5916c592b2d125ca4121fc5f9b3 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
| download | kernel-8bc9162cd2bf37036c486b384ac445b59b334b04.tar.gz kernel-8bc9162cd2bf37036c486b384ac445b59b334b04.zip | |
perf/x86/amd/uncore: Plug reference leak
In the error path of amd_uncore_cpu_up_prepare() the newly allocated uncore
struct is freed, but the percpu pointer still references it. Set it to NULL.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Vince Weaver <[email protected]>
Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1602162302170.19512@nanos
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
