diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-03-10 18:11:23 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:31 -0400 |
commit | 1e5e9aab31d3f73977d2b14189a0bb08b582cbb9 (patch) | |
tree | f9c5555acfdbbb7a465635f045df7ce6537b3abe /drivers/media/video | |
parent | d6102900e7e06e1c0c93889d38848a5b2d44e41d (diff) |
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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/saa7115.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index 26c9b64c748c..2d18f0069821 100644 --- a/drivers/media/video/saa7115.c +++ b/drivers/media/video/saa7115.c | |||
@@ -1486,6 +1486,7 @@ static int saa711x_attach(struct i2c_adapter *adapter, int address, int kind) | |||
1486 | if (memcmp(name, "1f711", 5)) { | 1486 | if (memcmp(name, "1f711", 5)) { |
1487 | v4l_dbg(1, debug, client, "chip found @ 0x%x (ID %s) does not match a known saa711x chip.\n", | 1487 | v4l_dbg(1, debug, client, "chip found @ 0x%x (ID %s) does not match a known saa711x chip.\n", |
1488 | address << 1, name); | 1488 | address << 1, name); |
1489 | kfree(client); | ||
1489 | return 0; | 1490 | return 0; |
1490 | } | 1491 | } |
1491 | 1492 | ||