Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3 possible memory leak issues #294

Closed
keqiaozhang opened this issue Nov 16, 2018 · 3 comments
Closed

3 possible memory leak issues #294

keqiaozhang opened this issue Nov 16, 2018 · 3 comments
Assignees
Labels
bug Something isn't working P1 Blocker bugs or important features

Comments

@keqiaozhang
Copy link
Collaborator

There‘re three possible memory leak issues on kernel driver:

Details:
#1:Possible memory leak. Dynamic memory stored in 'sroute->route.source' allocated through function 'kstrdup' at line 2311 can be lost at line 2336
/home/otc/sof/kernel/cros-sof-v4.14-rebase/sound/soc/sof/topology.c:2336 | sof_route_load()

#2:Possible memory leak. Dynamic memory stored in 'sroute->route.sink' allocated through function 'kstrdup' at line 2315 can be lost at line 2336
/home/otc/sof/kernel/cros-sof-v4.14-rebase/sound/soc/sof/topology.c:2336 | sof_route_load()

#3:Memory leak. Dynamic memory stored in 'sroute->route.control' allocated through function 'kstrdup' at line 2322 is lost at line 2336
/home/otc/sof/kernel/cros-sof-v4.14-rebase/sound/soc/sof/topology.c:2336 | sof_route_load()

@keqiaozhang keqiaozhang added bug Something isn't working P1 Blocker bugs or important features br-sof-dev labels Nov 16, 2018
@mengdonglin
Copy link
Collaborator

@keqiaozhang @ranj063 are these 3 issues fixed?

@keqiaozhang
Copy link
Collaborator Author

@mengdonglin these three issues are still open.

@mengdonglin mengdonglin assigned bardliao and unassigned ranj063 Nov 22, 2018
@mengdonglin
Copy link
Collaborator

Closing this issue as they've been declared a non-issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 Blocker bugs or important features
Projects
None yet
Development

No branches or pull requests

4 participants