From: Artem Bityutskiy Date: Wed, 4 Jun 2008 13:48:12 +0000 (+0300) Subject: UBI: fix memory leak X-Git-Tag: v2.6.27-rc1~223^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc5e92262d87f9c5c628492bffc55f81c7dcb80;p=pandora-kernel.git UBI: fix memory leak ubi_free_volume() function sets ubi->volumes[] to NULL, so ubi_eba_close() is useless, it does not free what has to be freed. So zap it and free vol->eba_tbl at the volume release function. Pointed-out-by: Adrian Hunter Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed