commit | 3b4418c67a70278964b063b5e1f56dcb3d0a41f3 | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Sat Jul 11 11:11:10 2009 +0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jul 28 13:45:22 2009 -0700 |
tree | 4112e10d4d523a55bc95fdfc46306881f7569820 | |
parent | 0f58b44582001c8bcdb75f36cf85ebbe5170e959 [diff] |
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 <tom.leiming@gmail.com> Reported-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>