commit | 357f45db920393aac983a137bd74095f612d5a01 | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Mon Jun 13 22:50:41 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jun 14 14:20:30 2011 -0700 |
tree | 55139bfad33a4c54b18e8dfa92cf08eda70c9926 | |
parent | 869e9e567fe6bba859e1d761250d160a9216498a [diff] |
USB: TI 3410/5052 USB Serial Driver: Fix mem leak when firmware is too big. If the size of the firmware exceeds TI_FIRMWARE_BUF_SIZE we'll leak 'fw_p' by failing to call release_firmware(). This patch fixes the leak. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>