diff options
author | 2020-08-17 19:57:28 +0800 | |
---|---|---|
committer | 2020-08-19 09:58:38 +0530 | |
commit | e097eb7473d9e70da9e03276f61cd392ccb9d79f (patch) | |
tree | 1047a4e5bb966d1efd0e13c1bad92ebb9024a2cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate() (diff) | |
download | wireguard-linux-e097eb7473d9e70da9e03276f61cd392ccb9d79f.tar.xz wireguard-linux-e097eb7473d9e70da9e03276f61cd392ccb9d79f.zip |
dmaengine: at_hdmac: add missing kfree() call in at_dma_xlate()
If memory allocation for 'atslave' succeed, at_dma_xlate() doesn't have a
corresponding kfree() in exception handling. Thus add kfree() for this
function implementation.
Fixes: bbe89c8e3d59 ("at_hdmac: move to generic DMA binding")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20200817115728.1706719-4-yukuai3@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions