diff options
| author | 2016-09-29 18:45:05 +0100 | |
|---|---|---|
| committer | 2016-09-30 23:22:26 +0530 | |
| commit | fc878efe84c342441706fcdf776e08fe455fe9c1 (patch) | |
| tree | 659ea88f0bd11b6b6afea75c365eee1b422e6953 /tools/perf/scripts/python/stackcollapse.py | |
| parent | dmaengine: coh901318: fix integer overflow when shifting more than 32 places (diff) | |
| download | linux-dev-fc878efe84c342441706fcdf776e08fe455fe9c1.tar.xz linux-dev-fc878efe84c342441706fcdf776e08fe455fe9c1.zip | |
dmaengine: jz4780: fix resource leaks on error exit return
In two cases when jz4780_dma_setup_hwdesc fails, there is a memory
leak on the allocated desc and associated DMA pools on the error
exit return path. Fix this by free'ing the resources before
returning.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
