diff options
author | Ming Lei <tom.leiming@gmail.com> | 2009-07-11 05:11:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-28 22:45:22 +0200 |
commit | 3b4418c67a70278964b063b5e1f56dcb3d0a41f3 (patch) | |
tree | 4112e10d4d523a55bc95fdfc46306881f7569820 /lib/dynamic_debug.c | |
parent | sysfs: fix hardlink count on device_move (diff) | |
download | linux-3b4418c67a70278964b063b5e1f56dcb3d0a41f3.tar.xz linux-3b4418c67a70278964b063b5e1f56dcb3d0a41f3.zip |
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>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions