Skip to content

3 possible memory leak issues #294

Closed

Description

@keqiaozhang

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()

Activity

  1. mengdonglin commented on Nov 22, 2018

    @mengdonglin

    @keqiaozhang @ranj063 are these 3 issues fixed?

  2. keqiaozhang commented on Nov 22, 2018

    @keqiaozhang
    Author

    @mengdonglin these three issues are still open.

  3. mengdonglin commented on Nov 22, 2018

    @mengdonglin

    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

Metadata

Metadata

Assignees

Labels

P1Blocker bugs or important featuresbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions