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:05:30 +0200 |
commit | 85eda6f61e53c2ac6bc1a7a0f64813153df8fbb3 (patch) | |
tree | c3fcd97c76c3d670d628dcba1944f63c061e643d /target/linux/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch | |
parent | a0543d8e702b36eab39df24a09a94ccbae864256 (diff) | |
download | upstream-85eda6f61e53c2ac6bc1a7a0f64813153df8fbb3.tar.gz upstream-85eda6f61e53c2ac6bc1a7a0f64813153df8fbb3.tar.bz2 upstream-85eda6f61e53c2ac6bc1a7a0f64813153df8fbb3.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/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch')
0 files changed, 0 insertions, 0 deletions