From: Jesper Juhl Date: Thu, 7 Apr 2011 19:23:48 +0000 (-0300) Subject: [media] cx23885: Don't leak firmware in cx23885_card_setup() X-Git-Tag: v3.0-rc1~322^2~143 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f84a4e1c1b785ff5dd3952cb2d4b3008b68ae45;p=pandora-kernel.git [media] cx23885: Don't leak firmware in cx23885_card_setup() We leak the memory allocated to 'fw' (the firmware) when the variable goes out of scope. Fix the leak by calling release_firmware(fw) before 'fw' goes out of scope. Signed-off-by: Jesper Juhl Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed