On Tue, 31 Aug 2004, Oliver Neukum wrote: > @@ -822,9 +822,8 @@ > > usb_set_intfdata(intf, NULL); > > + usb_kill_urb(desc->urb); > scsi_remove_host(desc->host); > - usb_unlink_urb(desc->urb); > - scsi_host_put(desc->host); > > usb_free_urb(desc->urb); > kfree(desc);
I think you still need the scsi_host_put(), to account for the fact that scsi_host_alloc() sets the refcount to 1 initially. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel