Bug 5328 - bug:memory leak in ttusb_dec_exit_dvb()
Summary: bug:memory leak in ttusb_dec_exit_dvb()
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 5.10.y-10
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: hanchunchao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-29 13:42 UTC by hanchunchao
Modified: 2023-08-17 18:30 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 hanchunchao inspur_group 2023-05-29 13:42:30 UTC
Description of problem:

Since dvb_frontend_detach() is not called in ttusb_dec_exit_dvb(),
which is called when the device is disconnected, dvb_frontend_free()
is not finally called.

This causes a memory leak just by repeatedly plugging and
unplugging the device.
Comment 1 小龙 admin 2023-05-29 13:52:29 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/1674