git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7999c6
)
perf/x86/intel: Fix memory leak on hot-plug allocation fail
author
Peter Zijlstra
<peterz@infradead.org>
Mon, 10 Aug 2015 12:17:34 +0000
(14:17 +0200)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 12 Aug 2015 09:37:22 +0000
(11:37 +0200)
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>
arch/x86/kernel/cpu/perf_event_intel.c
patch
|
blob
|
history
diff --cc
arch/x86/kernel/cpu/perf_event_intel.c
Simple merge