Prev: [patch 006/149] ARCNET: Limit com20020 PCI ID matches for SOHARD cards
Next: [PATCH] security: move LSM xattrnames to xattr.h
From: Greg KH on 1 Jul 2010 15:00 2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Johan Hovold <jhovold(a)gmail.com> commit 199b113978015309dd02c69844c19a1be3f4dbcf upstream. Fix memory leak for some devices (Sony Clie 3.5) due to port private data not being freed on release. Signed-off-by: Johan Hovold <jhovold(a)gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de> diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index 0949427..fb7fc40 100644 --- 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, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |