Commit Graph

1 Commits (f39230e4636c1003cf8cb2d739cd95a4344609b4)

Author SHA1 Message Date
Mantas Pucka 7193067edb 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: Mantas Pucka <mantas@8devices.com>
5 years ago