Skip to content
Snippets Groups Projects
Commit 7193067e authored by Mantas Pucka's avatar Mantas Pucka Committed by Christian Lamparter
Browse files

kernel: mt29f_spinand: fix memory leak during page program


Memory is allocated with devm_kzalloc() on every page program
and leaks until device is closed (which never happens).

Convert to kzalloc() and handle error paths manually.

Signed-off-by: default avatarMantas Pucka <mantas@8devices.com>
parent 28baaaae
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment