From: Artem Bityutskiy Date: Wed, 4 Jun 2008 14:58:37 +0000 (+0300) Subject: UBI: fix memory leak on error path X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ebae0e7ccd3bf63a894a00dda493ec35267953a;p=pandora-kernel.git UBI: fix memory leak on error path Normally UBI volumes are freed in the release function of the struct device object. However, on error path they may have to be freed before the struct device objects have been initialized. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed