Skip to content
Snippets Groups Projects
Commit 877b5f4e authored by Adrian Bunk's avatar Adrian Bunk Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (8843): tda10048_firmware_upload(): fix a memory leak


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

Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 8da9bae3
No related branches found
No related tags found
No related merge requests found
......@@ -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__);
return -EIO;
ret = -EIO;
} else {
printk(KERN_INFO "%s: firmware uploading\n", __func__);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment