Bug 8988 - intel_th: Fix a resource leak in an error handling path
Summary: intel_th: Fix a resource leak in an error handling path
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 5.10.y-14
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-10 13:54 UTC by daichx
Modified: 2024-05-10 14:06 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daichx inspur_group 2024-05-10 13:54:58 UTC
If an error occurs after calling 'pci_alloc_irq_vectors()',
'pci_free_irq_vectors()' must be called as already done in the remove
function.
Comment 1 小龙 admin 2024-05-10 14:06:51 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3149