[media] TTUSB DVB: ttusb_boot_dsp() needs to release_firmware() or it leaks memory
authorJesper Juhl <jj@chaosbits.net>
Sun, 6 Feb 2011 20:49:02 +0000 (17:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:22 +0000 (20:32 -0300)
commitba0fd56a4fbb92999554a2e417924796c2ad2f8f
tree9939ba6b4d1d450c650fb159ed2c7031924ebafa
parent19a0a296f2df31c24f87fd3e7ee7f2640e49e5d4
[media] TTUSB DVB: ttusb_boot_dsp() needs to release_firmware() or it leaks memory

In drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c:ttusb_boot_dsp() we
need to call release_firmware(fw) before returning or we'll leak - no
matter if we succeed or fail.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c