diff options
author | Mantas Pucka <mantas@8devices.com> | 2019-06-11 17:08:48 +0300 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-06-15 19:55:32 +0200 |
commit | 7193067edb76d80ab3f52a39c4b083b3839b0cda (patch) | |
tree | 41cb36034ee0028024c23ce2ff238dd5a7ce96dc /target/linux/mxs | |
parent | 28baaaae82155e7fc695789dd0a807cc2f298be8 (diff) | |
download | upstream-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/mxs')
0 files changed, 0 insertions, 0 deletions