diff options
author | Sudip Mukherjee <[email protected]> | 2016-02-22 14:14:31 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-02-22 19:40:06 +0900 |
commit | 513cb31120fb5a5b02d9e42eb1d0a0bf05e227c5 (patch) | |
tree | 11e1175edcf6c706f8cc3dfb020a973ad3c62808 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
ASoC: fix memory leak
If dai_link is already bound then we just returned and leaked rtd and
rtd->codec_dais which were allocated by soc_new_pcm_runtime(). We do not
need this newly allocated rtd to check if dai_link is already binded. Lets
check first if it is already binded before allocating this memory.
Signed-off-by: Sudip Mukherjee <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions