From: Jesper Juhl Date: Sun, 9 Jan 2011 11:32:38 +0000 (+0000) Subject: Madge Ambassador ATM Adapter driver: Always release_firmware() in ucode_init() and... X-Git-Tag: v2.6.38-rc1~403^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a75da4a1a1d220fc3e32b816e83c258617505c5;p=pandora-kernel.git Madge Ambassador ATM Adapter driver: Always release_firmware() in ucode_init() and don't leak memory. Failure to call release_firmware() will result in memory leak in drivers/atm/ambassador.c::ucode_init(). This patch makes sure we always call release_firmware() when needed, thus removing the leak(s). Yes, I know checkpatch complains about this patch, but it was either that or completely mess up the existing style, so I opted to use the existing style and live with the checkpatch related flak. Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller --- Reading git-diff-tree failed