projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa993ca
)
USB: visor: fix memory leak
author
Johan Hovold
<jhovold@gmail.com>
Sat, 15 May 2010 15:53:48 +0000
(17:53 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 20 May 2010 20:21:48 +0000
(13:21 -0700)
Fix memory leak for some devices (Sony Clie 3.5) due to port private
data not being freed on release.
Cc: stable <stable@kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/visor.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/visor.c
b/drivers/usb/serial/visor.c
index 094942707c7d6591afab24d006cc8d0d1d1de097..fb7fc4068fb66ccf96e39b076e5fdef99f658c6f 100644
(file)
--- a/
drivers/usb/serial/visor.c
+++ b/
drivers/usb/serial/visor.c
@@
-249,6
+249,7
@@
static struct usb_serial_driver clie_3_5_device = {
.throttle = visor_throttle,
.unthrottle = visor_unthrottle,
.attach = clie_3_5_startup,
+ .release = visor_release,
.write = visor_write,
.write_room = visor_write_room,
.write_bulk_callback = visor_write_bulk_callback,