diff options
author | Mantas Pucka <mantas@8devices.com> | 2019-06-11 17:08:48 +0300 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-06-15 00:27:08 +0200 |
commit | 8386f975a9ce80d44c621bf20e87162efbad1e1a (patch) | |
tree | 0fd07612f517c14a322edffbe9a1546950309d8b /tools/cbootimage-configs | |
parent | f96fbf03281a69dc48cfea90044b21e30c15b7c7 (diff) | |
download | upstream-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 'tools/cbootimage-configs')
0 files changed, 0 insertions, 0 deletions