From: Ming Lei Date: Sat, 11 Jul 2009 03:11:10 +0000 (+0800) Subject: driver core: firmware_class:fix memory leak of page pointers array X-Git-Tag: v2.6.31-rc5~69^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b4418c67a70278964b063b5e1f56dcb3d0a41f3;p=pandora-kernel.git driver core: firmware_class:fix memory leak of page pointers array The page pointers array is allocated in fw_realloc_buffer() called by firmware_data_write(), and should be freed in release function of firmware device. Signed-off-by: Ming Lei Reported-by: Catalin Marinas Acked-by: David Woodhouse Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed