summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rtsx_usb.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2014-08-22 14:19:44 +0200
committerVinod Koul <vinod.koul@intel.com>2014-09-23 17:20:39 +0200
commitc2e6f424a4abc9bb561133b00b2134ce11be34e9 (patch)
treeb6e2fa67247c3aeb42adcc7777d99033f1f3ebf6 /drivers/mfd/rtsx_usb.c
parentdmaengine: Mark the struct dma_slave_config direction field deprecated (diff)
downloadlinux-c2e6f424a4abc9bb561133b00b2134ce11be34e9.tar.xz
linux-c2e6f424a4abc9bb561133b00b2134ce11be34e9.zip
dmatest: prevent memory leakage on error path in thread
When we fail to allocate memory for thread->srcs or thread->dsts and src_cnt or dst_cnt great than 1 we leak memory on error path. This patch fixes the issue. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/mfd/rtsx_usb.c')
0 files changed, 0 insertions, 0 deletions