Prev: [patch 063/149] m68k: set ARCH_KMALLOC_MINALIGN
Next: [patch 070/149] mlx4_core: Fix possible chunk sg list overflow in mlx4_alloc_icm()
From: Greg KH on 1 Jul 2010 14:50 2.6.32-stable review patch. If anyone has any objections, please let us 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 @@ -310,6 +310,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/ |