summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-02-22 14:14:31 +0530
committerMark Brown <broonie@kernel.org>2016-02-22 19:40:06 +0900
commit513cb31120fb5a5b02d9e42eb1d0a0bf05e227c5 (patch)
tree11e1175edcf6c706f8cc3dfb020a973ad3c62808 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent92e963f50fc74041b5e9e744c330dca48e04f08d (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 <sudip.mukherjee@codethink.co.uk> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions