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-for-v3.18-merge-window~35^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e1f50d7433b9a6e52cb296943f53c3ce8189ea5;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: Dan Williams --- Reading git-diff-tree failed