git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
451a51b
)
[media] cx23885: Don't leak firmware in cx23885_card_setup()
author
Jesper Juhl
<jj@chaosbits.net>
Thu, 7 Apr 2011 19:23:48 +0000
(16:23 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 20 May 2011 12:28:47 +0000
(09:28 -0300)
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>
No differences found