Mantas Pucka 8386f975a9 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>
2019-06-15 00:27:08 +02:00
..
2019-05-11 17:15:41 +02:00
2018-11-05 16:00:00 +01:00
2019-05-21 09:45:15 +02:00
2019-06-03 12:40:53 +02:00
2019-03-11 19:35:43 +01:00
2019-05-11 17:15:41 +02:00
2019-05-21 09:45:15 +02:00
2019-01-07 17:09:06 +01:00
2018-12-10 11:48:44 +01:00
2019-05-11 17:15:41 +02:00