commit | 3f84a4e1c1b785ff5dd3952cb2d4b3008b68ae45 | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Thu Apr 07 16:23:48 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri May 20 09:28:47 2011 -0300 |
tree | 4d6867015ab96bf7c369ce4ed87ed7215bbdc585 | |
parent | 451a51b218df9a3a93af9fd71a356cc6043df52a [diff] |
[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 <jj@chaosbits.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>