diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-01-18 16:43:44 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-01-18 18:53:56 +0200 |
commit | ebddd63b74dcf1cb676d14328d5852f1fee19a8a (patch) | |
tree | c924535e6ae791d514ec809c99ebb214d66d97b7 /arch/powerpc/configs/52xx/tqm5200_defconfig | |
parent | b531b55a7bde8aa2bdf7023b3afc6df1bf3dcb67 (diff) |
UBI: fix memory leak in update path
When truncating an UBI volume, UBI should allocates a PEB-sized
buffer but does not release it, which leads to memory leaks.
This patch fixes the issue.
Reported-by: Marek Skuczynski <mareksk7@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tested-by: Marek Skuczynski <mareksk7@gmail.com>
Cc: stable@kernel.org
Diffstat (limited to 'arch/powerpc/configs/52xx/tqm5200_defconfig')
0 files changed, 0 insertions, 0 deletions