From: Jesper Juhl Date: Mon, 13 Jun 2011 20:50:41 +0000 (+0200) Subject: USB: TI 3410/5052 USB Serial Driver: Fix mem leak when firmware is too big. X-Git-Tag: v3.0-rc6~29^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=357f45db920393aac983a137bd74095f612d5a01;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed