Commit Graph

1 Commits (22a21b0c18ebce7b7040ce693621f5c77983f3e5)

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