From: Andy Shevchenko Date: Fri, 22 Aug 2014 12:19:44 +0000 (+0300) Subject: dmatest: prevent memory leakage on error path in thread X-Git-Tag: fixes-against-v3.18-rc2~40^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2e6f424a4abc9bb561133b00b2134ce11be34e9;p=pandora-kernel.git 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed