From: Alexey Khoroshilov Date: Fri, 12 Dec 2014 21:43:55 +0000 (+0300) Subject: rsi: fix memory leak in rsi_load_ta_instructions() X-Git-Tag: fixes-v4.0-rc1~150^2~297^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eae79b4f3e82ca63a53478a161b190a0d38fe526;p=pandora-kernel.git rsi: fix memory leak in rsi_load_ta_instructions() Memory allocated by kmemdup() in rsi_load_ta_instructions() is leaked. But duplication of firmware data here is useless, so the patch removes kmemdup() at all. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Kalle Valo --- Reading git-diff-tree failed