Prev: [patch 084/164] ARM: 6144/1: TCM memory bug freeing bug
Next: [052/200] USB: xhci: Limit bus sg_tablesize to 62 TRBs.
From: Greg KH on 1 Jul 2010 17:20 2.6.34-stable review patch. If anyone has any objections, please let me know. ------------------ From: Johan Hovold <jhovold(a)gmail.com> commit 313b0d80c1717ffe8f64b455a4d323996748b91a upstream. Private data was not freed on error path in startup. Signed-off-by: Johan Hovold <jhovold(a)gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de> --- drivers/usb/serial/kl5kusb105.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/serial/kl5kusb105.c +++ b/drivers/usb/serial/kl5kusb105.c @@ -321,6 +321,7 @@ err_cleanup: usb_free_urb(priv->write_urb_pool[j]); } } + kfree(priv); usb_set_serial_port_data(serial->port[i], NULL); } return -ENOMEM; -- 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/ |