aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2014-08-22 15:19:44 +0300
committerVinod Koul <[email protected]>2014-09-23 20:50:39 +0530
commitc2e6f424a4abc9bb561133b00b2134ce11be34e9 (patch)
treeb6e2fa67247c3aeb42adcc7777d99033f1f3ebf6 /include/linux/fpga/fpga-mgr.h
parentd9ff958bb34aabdce08d11b0db24123c093d87cd (diff)
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 <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions