commit | c2e6f424a4abc9bb561133b00b2134ce11be34e9 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Aug 22 15:19:44 2014 +0300 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Sep 23 20:50:39 2014 +0530 |
tree | b6e2fa67247c3aeb42adcc7777d99033f1f3ebf6 | |
parent | d9ff958bb34aabdce08d11b0db24123c093d87cd [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 <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>