-
Notifications
You must be signed in to change notification settings - Fork 140
Description
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()