diff options
author | 2014-03-02 11:52:57 -0800 | |
---|---|---|
committer | 2014-03-05 11:40:39 +0800 | |
commit | e4ad1accb28d0ed8cea6f12395d58686ad344ca7 (patch) | |
tree | 7171abea1ce01772195cac36daeb67c0301057da /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linus 3.14-rc1 (diff) | |
download | linux-dev-e4ad1accb28d0ed8cea6f12395d58686ad344ca7.tar.xz linux-dev-e4ad1accb28d0ed8cea6f12395d58686ad344ca7.zip |
ASoC: pcm: free path list before exiting from error conditions
dpcm_path_get() allocates dynamic memory to hold path list.
Corresponding dpcm_path_put() must be called to free the memory.
dpcm_path_put() is not called under several error conditions.
This leads to memory leak.
Signed-off-by: Patrick Lai <plai@codeaurora.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions