projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da9bae
)
V4L/DVB (8843): tda10048_firmware_upload(): fix a memory leak
author
Adrian Bunk
<bunk@kernel.org>
Wed, 3 Sep 2008 20:12:25 +0000
(17:12 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 3 Sep 2008 21:37:54 +0000
(18:37 -0300)
This patch fixes a memory leak ("fw" wasn't freed).
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/tda10048.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/frontends/tda10048.c
b/drivers/media/dvb/frontends/tda10048.c
index 7727099a16f60582ed7f9c522a18595f87672514..04e7f1cc1403ef1fb6f197f18cec99827e6d3453 100644
(file)
--- a/
drivers/media/dvb/frontends/tda10048.c
+++ b/
drivers/media/dvb/frontends/tda10048.c
@@
-303,7
+303,7
@@
static int tda10048_firmware_upload(struct dvb_frontend *fe)
if (fw->size != TDA10048_DEFAULT_FIRMWARE_SIZE) {
printk(KERN_ERR "%s: firmware incorrect size\n", __func__);
- ret
urn
-EIO;
+ ret
=
-EIO;
} else {
printk(KERN_INFO "%s: firmware uploading\n", __func__);