From: Artem Bityutskiy Date: Wed, 4 Jun 2008 13:48:12 +0000 (+0300) Subject: UBI: fix memory leak X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8be74cfb133d794d43ef1288b3288fa1f9e3435b;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