Thomas Gleixner 8bc9162cd2 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 <tglx@linutronix.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1602162302170.19512@nanos
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-02-17 08:36:09 +01:00
..
2014-06-04 16:53:57 -07:00
2015-05-05 20:48:02 +02:00
2014-12-13 12:42:51 -08:00
2015-08-25 09:59:19 +02:00
2015-11-23 09:04:05 +01:00
2015-10-21 11:17:32 +02:00
2015-11-23 09:44:58 +01:00
2014-01-03 14:37:13 +00:00
2015-04-24 15:36:55 +02:00
2015-10-21 11:17:32 +02:00
2015-11-05 13:07:54 +01:00
2014-10-17 13:40:52 -07:00
2015-09-14 12:22:00 +02:00