aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorMantas Pucka <mantas@8devices.com>2019-06-11 17:08:48 +0300
committerChristian Lamparter <chunkeey@gmail.com>2019-06-15 00:27:08 +0200
commit8386f975a9ce80d44c621bf20e87162efbad1e1a (patch)
tree0fd07612f517c14a322edffbe9a1546950309d8b /package/kernel
parentf96fbf03281a69dc48cfea90044b21e30c15b7c7 (diff)
downloadupstream-8386f975a9ce80d44c621bf20e87162efbad1e1a.tar.gz
upstream-8386f975a9ce80d44c621bf20e87162efbad1e1a.tar.bz2
upstream-8386f975a9ce80d44c621bf20e87162efbad1e1a.zip
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>
Diffstat (limited to 'package/kernel')
0 files changed, 0 insertions, 0 deletions