diff -urN 1.0/drivers/usb/input/usbmouse.c 1.1/drivers/usb/input/usbmouse.c
--- 1.0/drivers/usb/input/usbmouse.c    2003-07-25 23:42:51.000000000 +0200
+++ 1.1/drivers/usb/input/usbmouse.c    2003-07-25 23:49:38.000000000 +0200
@@ -185,6 +185,7 @@
        mouse->dev.id.version = dev->descriptor.bcdDevice;
 
        if (!(buf = kmalloc(63, GFP_KERNEL))) {
+               usb_free_urb(mouse->irq);
                usb_buffer_free(dev, 8, mouse->data, mouse->data_dma);
                kfree(mouse);
                return -ENOMEM;



Daniele.







-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to