diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-03-10 20:11:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 15:44:31 -0300 |
commit | 1e5e9aab31d3f73977d2b14189a0bb08b582cbb9 (patch) | |
tree | f9c5555acfdbbb7a465635f045df7ce6537b3abe /drivers/media/video | |
parent | d6102900e7e06e1c0c93889d38848a5b2d44e41d (diff) | |
download | op-kernel-dev-1e5e9aab31d3f73977d2b14189a0bb08b582cbb9.zip op-kernel-dev-1e5e9aab31d3f73977d2b14189a0bb08b582cbb9.tar.gz |
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 26c9b64..2d18f00 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) 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; } |