summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-03-11 00:11:23 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2007-03-11 00:11:23 +0100
commita36c1b8c1e460d442f783d8e4708c464f4836758 (patch)
treef23d9e2621c25334f08c3fd8c8834345575c2c8c /linux/drivers/media/video
parentbbfbb3f887465820183b7b2e7f510c9413dbf371 (diff)
downloadmediapointer-dvb-s2-a36c1b8c1e460d442f783d8e4708c464f4836758.tar.gz
mediapointer-dvb-s2-a36c1b8c1e460d442f783d8e4708c464f4836758.tar.bz2
Add missing kfree in early exit of saa7115.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/saa7115.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7115.c b/linux/drivers/media/video/saa7115.c
index 064a81334..1235c4fc6 100644
--- a/linux/drivers/media/video/saa7115.c
+++ b/linux/drivers/media/video/saa7115.c
@@ -1505,6 +1505,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;
}