Bug 4223 - [ANCK 4.19]Fix a possible memory leak in sdma_transfer_init
Summary: [ANCK 4.19]Fix a possible memory leak in sdma_transfer_init
Status: NEW
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: mm (show other bugs) mm
Version: 4.19-023.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: wangrongwei
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-24 16:02 UTC by wangkaiqiang
Modified: 2023-07-04 15:08 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 wangkaiqiang inspur_group 2023-02-24 16:02:59 UTC
Description of problem:


If the function sdma_load_context() fails, the sdma_desc will be
freed, but the allocated desc->bd is forgot to be freed.
Comment 1 wangrongwei alibaba_cloud_group 2023-03-16 11:10:10 UTC
这个issue是什么状态?是否可以关闭?
Comment 2 maqiao alibaba_cloud_group 2023-07-04 15:08:15 UTC
PR link: https://gitee.com/anolis/cloud-kernel/pulls/1278