Greg:

A recent patch introduced this reference counting leak.

Alan Stern



Signed-off-by: Alan Stern <[EMAIL PROTECTED]>

===== drivers/usb/core/usb.c 1.293 vs edited =====
--- 1.293/drivers/usb/core/usb.c        2004-09-28 13:19:22 -04:00
+++ edited/drivers/usb/core/usb.c       2004-10-08 13:05:23 -04:00
@@ -765,6 +765,7 @@
 
        if (dev->bus->op->allocate)
                if (dev->bus->op->allocate(dev)) {
+                       usb_bus_put(bus);
                        kfree(dev);
                        return NULL;
                }



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to