https://github.com/torvalds/linux
Revision dbc72b7a0c673ff00fdeb21d3a26064e2185baf4 authored by Peter Zijlstra on 10 August 2015, 12:17:34 UTC, committed by Ingo Molnar on 12 August 2015, 09:37:22 UTC
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>
1 parent c7999c6
History
Tip revision: dbc72b7a0c673ff00fdeb21d3a26064e2185baf4 authored by Peter Zijlstra on 10 August 2015, 12:17:34 UTC
perf/x86/intel: Fix memory leak on hot-plug allocation fail
Tip revision: dbc72b7
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 313.5 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top