OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b97ebf
)
[PATCH] fix leak in activate_ep_files()
author
Al Viro
<viro@ftp.linux.org.uk>
Wed, 26 Apr 2006 06:20:48 +0000
(07:20 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 26 Apr 2006 14:52:21 +0000
(07:52 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/gadget/inode.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/inode.c
b/drivers/usb/gadget/inode.c
index
42b4570
..
0eb010a
100644
(file)
--- a/
drivers/usb/gadget/inode.c
+++ b/
drivers/usb/gadget/inode.c
@@
-1614,6
+1614,7
@@
static int activate_ep_files (struct dev_data *dev)
data, &ep_config_operations,
&data->dentry);
if (!data->inode) {
+ usb_ep_free_request(ep, data->req);
kfree (data);
goto enomem;
}