Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a570fb6e authored by Jiri Slaby's avatar Jiri Slaby Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (13964): tuner-core, fix memory leak



Stanse found a memory leak in tuner_probe. It is not freed/assigned
on all paths. Fix that.

Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b46d37e6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1078,6 +1078,7 @@ static int tuner_probe(struct i2c_client *client,

				goto register_client;
			}
			kfree(t);
			return -ENODEV;
		case 0x42:
		case 0x43: