projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d610290
)
V4L/DVB (5414): Add missing kfree in early exit of saa7115.
author
Hans Verkuil
<hverkuil@xs4all.nl>
Sat, 10 Mar 2007 23:11:23 +0000
(20:11 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:31 +0000
(15:44 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7115.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/saa7115.c
b/drivers/media/video/saa7115.c
index
26c9b64
..
2d18f00
100644
(file)
--- 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;
}