1
0
Fork 0

V4L/DVB (5414): Add missing kfree in early exit of saa7115.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
hifive-unleashed-5.1
Hans Verkuil 2007-03-10 20:11:23 -03:00 committed by Mauro Carvalho Chehab
parent d6102900e7
commit 1e5e9aab31
1 changed files with 1 additions and 0 deletions

View File

@ -1486,6 +1486,7 @@ static int saa711x_attach(struct i2c_adapter *adapter, int address, int kind)
if (memcmp(name, "1f711", 5)) {
v4l_dbg(1, debug, client, "chip found @ 0x%x (ID %s) does not match a known saa711x chip.\n",
address << 1, name);
kfree(client);
return 0;
}