Bug 4217 - memory leak in highbank_mc_probe()
Summary: memory leak in highbank_mc_probe()
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 5.10.y-15
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-24 15:13 UTC by xinhaitao
Modified: 2023-02-28 19:39 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 xinhaitao inspur_group 2023-02-24 15:13:02 UTC
Description of problem:
When devres_open_group() fails, it returns -ENOMEM without freeing memory
allocated by edac_mc_alloc().
Comment 1 maqiao alibaba_cloud_group 2023-02-28 19:39:54 UTC
merged: https://gitee.com/anolis/cloud-kernel/pulls/1276