aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
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 19:55:32 +0200
commit7193067edb76d80ab3f52a39c4b083b3839b0cda (patch)
tree41cb36034ee0028024c23ce2ff238dd5a7ce96dc /target/linux/ramips
parent28baaaae82155e7fc695789dd0a807cc2f298be8 (diff)
downloadupstream-7193067edb76d80ab3f52a39c4b083b3839b0cda.tar.gz
upstream-7193067edb76d80ab3f52a39c4b083b3839b0cda.tar.bz2
upstream-7193067edb76d80ab3f52a39c4b083b3839b0cda.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 'target/linux/ramips')
0 files changed, 0 insertions, 0 deletions