commit | eae79b4f3e82ca63a53478a161b190a0d38fe526 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Dec 13 00:43:55 2014 +0300 |
committer | Kalle Valo <kvalo@codeaurora.org> | Wed Dec 24 17:26:08 2014 +0200 |
tree | 2883da0af086a51cddd82475a30bf5694b09cb2f | |
parent | 18e0c0bf3a5ea0f54384149570274d535341dc06 [diff] |
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 <khoroshilov@ispras.ru> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>