mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
spi: dw: Don't call kfree for memory allocated by devm_kzalloc
commitc63f5da008upstream. With devm_kzalloc, the memory is automatically freed when spi_device detach from the bus. Fixes: commit43f627ac9d(spi: dw: fix memory leak on error path) Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1e3fe0a434
commit
f2fa919e04
1 changed files with 0 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue