Re: Memory leak closing USB interrupt endpoint

2009-05-22 Thread David Imhoff
On Fri, 22 May 2009 07:14:11 -0700 Bryan wrote: > > you were doing so well... patches must be submitted inline... no attachments Oops, sorry. diff -ur sys.orig/usb/ehci.c sys/usb/ehci.c --- sys.orig/usb/ehci.c Fri May 22 15:50:06 2009 +++ sys/usb/ehci.c Fri May 22 15:55:15 2009 @@ -2323,1

Memory leak closing USB interrupt endpoint

2009-05-22 Thread David Imhoff
Hi, I was trying to fix a memory leak in the USB subsystem when closing a interrupt transfer, see http://article.gmane.org/gmane.os.openbsd.bugs/13563 and http://article.gmane.org/gmane.os.openbsd.bugs/1012. I traced the memory leak back to the uhci_*_intr_abort() function in dev/usb/uhci.c. Here