Artem Bityutskiy ebddd63b74 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
2010-01-18 18:53:56 +02:00
..
2009-10-20 10:13:49 +03:00
2009-06-02 13:53:35 +03:00
2009-08-14 20:02:20 +03:00
2009-08-14 20:02:20 +03:00
2009-07-15 11:30:55 +03:00
2009-08-14 20:02:20 +03:00
2010-01-12 13:19:15 +02:00
2009-01-27 16:54:41 +02:00
2009-06-03 17:45:23 +03:00
2009-10-20 10:13:04 +03:00
2009-10-20 10:13:04 +03:00
2010-01-18 18:53:56 +02:00
2009-06-02 13:53:35 +03:00
2010-01-12 13:19:08 +02:00
2009-07-05 18:47:05 +03:00