aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorXiu Jianfeng <[email protected]>2022-11-23 23:58:57 +0800
committerJuergen Gross <[email protected]>2022-12-05 12:59:50 +0100
commit69143f60868b3939ddc89289b29db593b647295e (patch)
treedc701e458aa9c3987e6918356b0c5740dfcc46f2 /scripts/gdb/linux/device.py
parent11987fbeaae78f2fc01ce9eb3f5a0eec382b4282 (diff)
x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
These local variables @{resched|pmu|callfunc...}_name saves the new string allocated by kasprintf(), and when bind_{v}ipi_to_irqhandler() fails, it goes to the @fail tag, and calls xen_smp_intr_free{_pv}() to free resource, however the new string is not saved, which cause a memory leak issue. fix it. Fixes: 9702785a747a ("i386: move xen") Signed-off-by: Xiu Jianfeng <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions