On Mon, 19 Jun 2006 17:23:07 -0300, [EMAIL PROTECTED] wrote:
> + for (i = 0; i < max_ports; ++i) {
> + port = kzalloc(sizeof(struct usb_serial_port), GFP_KERNEL);
> + if (!port)
> + return -ENOMEM;This is the same bug I just fixed. You forgot to free ports which were allocated before the failure. -- Pete _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
