The patch number 8843 was added via Mauro Carvalho Chehab <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Adrian Bunk  <[EMAIL PROTECTED]>
tda10048_firmware_upload(): fix a memory leak


This patch fixes a memory leak ("fw" wasn't freed).

Reported-by: Adrian Bunk <[EMAIL PROTECTED]>

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/frontends/tda10048.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r c0105ccaad74 -r 129ceb23caf5 
linux/drivers/media/dvb/frontends/tda10048.c
--- a/linux/drivers/media/dvb/frontends/tda10048.c      Thu Aug 28 01:01:57 
2008 +0300
+++ b/linux/drivers/media/dvb/frontends/tda10048.c      Thu Aug 28 01:03:24 
2008 +0300
@@ -303,7 +303,7 @@ static int tda10048_firmware_upload(stru
 
        if (fw->size != TDA10048_DEFAULT_FIRMWARE_SIZE) {
                printk(KERN_ERR "%s: firmware incorrect size\n", __func__);
-               return -EIO;
+               ret = -EIO;
        } else {
                printk(KERN_INFO "%s: firmware uploading\n", __func__);
 


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/129ceb23caf55f487e58a03302a0c929d211621a

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to