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

Message ID 20221123155858.11382-1-xiujianfeng@huawei.com
Headers
Series x86/xen: Fix memory leak issue |

Message

Xiu Jianfeng Nov. 23, 2022, 3:58 p.m. UTC
  The new string allocated by kasprintf() is leaked on error paths

v2: follow Juergen's suggestion.

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      | 24 ++++++++++++------------
 arch/x86/xen/smp_pv.c   | 12 ++++++------
 arch/x86/xen/spinlock.c |  6 +++---
 3 files changed, 21 insertions(+), 21 deletions(-)