diff options
author | Gao Pan <[email protected]> | 2016-01-18 15:44:01 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-02-19 00:12:52 +0000 |
commit | ba4a3550e93415f4ff300810b8d0659949fea193 (patch) | |
tree | c00efada7dfe0fc50c1e4d1f6a348245baf18f3a /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 390f0ffe92aea878b763c7fd8afd1dff62e0d20b (diff) |
spi: imx: fix spi resource leak with dma transfer
In spi_imx_dma_transfer(), when desc_rx = dmaengine_prep_slave_sg()
fails, the context goes to label no_dma and then return. However,
the memory allocated for desc_tx has not been freed yet, which leads
to resource leak.
Signed-off-by: Gao Pan <[email protected]>
Reviewed-by: Fugang Duan <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions