summaryrefslogtreecommitdiff
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2015-08-10 12:17:34 (GMT)
committerIngo Molnar <mingo@kernel.org>2015-08-12 09:37:22 (GMT)
commitdbc72b7a0c673ff00fdeb21d3a26064e2185baf4 (patch)
tree7dc5bf5f492b24fe6eecb7058292fa1eb532e00e /arch/Kconfig
parentc7999c6f3fed9e383d3131474588f282ae6d56b9 (diff)
downloadlinux-dbc72b7a0c673ff00fdeb21d3a26064e2185baf4.tar.xz
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) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions