projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/usb/gadget/inode.c
b/drivers/usb/gadget/inode.c
index 42b457030b0310420931fc481e6f2d7316f87fd3..0eb010a3f5bc331d52e4fc4c3819eeca57e897d2 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;
}