aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-4.14/400-mt29f_spinand-fix-memleak.patch
Commit message (Collapse)AuthorAgeFilesLines
* kernel: mt29f_spinand: fix memory leak during page programMantas Pucka2019-06-151-0/+90
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>