From: Artem Bityutskiy Date: Mon, 18 Jan 2010 14:43:44 +0000 (+0200) Subject: UBI: fix memory leak in update path X-Git-Tag: v2.6.33-rc6~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebddd63b74dcf1cb676d14328d5852f1fee19a8a;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Tested-by: Marek Skuczynski Cc: stable@kernel.org --- Reading git-diff-tree failed