USB: TI 3410/5052 USB Serial Driver: Fix mem leak when firmware is too big.
authorJesper Juhl <jj@chaosbits.net>
Mon, 13 Jun 2011 20:50:41 +0000 (22:50 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 14 Jun 2011 21:20:30 +0000 (14:20 -0700)
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>

No differences found