OpenCloudOS-Kernel/arch/x86/kernel/cpu/microcode
Zhenzhong Duan 0218c76626 x86/microcode/intel: Fix memleak in save_microcode_patch()
Free useless ucode_patch entry when it's replaced.

[ bp: Drop the memfree_patch() two-liner. ]

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Srinivas REDDY Eeda <srinivas.eeda@oracle.com>
Link: http://lkml.kernel.org/r/888102f0-fd22-459d-b090-a1bd8a00cb2b@default
2018-06-22 14:42:59 +02:00
..
Makefile x86/microcode/intel: Remove intel_lib.c 2016-10-25 12:28:59 +02:00
amd.c Documentation: Fix early-microcode.txt references after file rename 2018-03-27 09:51:23 +02:00
core.c x86/microcode: Make the late update update_lock a raw lock for RT 2018-05-27 21:50:09 +02:00
intel.c x86/microcode/intel: Fix memleak in save_microcode_patch() 2018-06-22 14:42:59 +02:00