[PATCH 0/2] x86/xen: Fix memory leak issue

From: Xiu Jianfeng
Date: Sat Nov 19 2022 - 04:02:37 EST


The new string allocated by kasprintf() is leaked on error path

Xiu Jianfeng (2):
x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
x86/xen: Fix memory leak in xen_init_lock_cpu()

arch/x86/xen/smp.c | 16 ++++++++++++----
arch/x86/xen/smp_pv.c | 8 ++++++--
arch/x86/xen/spinlock.c | 3 ++-
3 files changed, 20 insertions(+), 7 deletions(-)

--
2.17.1