On Tue, 20 Jun 2006 12:12:33 -0700 Pete Zaitcev <[EMAIL PROTECTED]> wrote:
| 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. That's because the patches were generated agains't Linus' tree. -- Luiz Fernando N. Capitulino _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel