Bug 4750 - Fix memory leak in st_of_quadfs_setup()
Summary: Fix memory leak in st_of_quadfs_setup()
Status: RESOLVED FIXED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 4.19-028.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 09:52 UTC by inspursand
Modified: 2023-08-17 17:09 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 inspursand inspur_group 2023-04-12 09:52:02 UTC
Description of problem:
If st_clk_register_quadfs_pll() fails, @lock should be freed before goto
@err_exit, otherwise will cause meory leak issue, fix it.


Version-Release number of selected component (if applicable):
4.19

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 GuixinLiu alibaba_cloud_group 2023-08-17 17:09:10 UTC
already fixed.
合入到了devel-4.19,commit为:2008a2efe7f1a3f0eb4a09ab64a8299c365d2d8d