From 007909b14a7c13867339fd88cd719af01fb2210c Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Mon, 4 May 2009 17:07:05 +0000 Subject: [PATCH] - Ditto as r40781, but for ohci. Spotted by Cameron Gutman. svn path=/trunk/; revision=40786 --- reactos/drivers/usb/nt4compat/usbdriver/ohci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/usb/nt4compat/usbdriver/ohci.c b/reactos/drivers/usb/nt4compat/usbdriver/ohci.c index 0d02b9ecbce..b097766ac3f 100644 --- a/reactos/drivers/usb/nt4compat/usbdriver/ohci.c +++ b/reactos/drivers/usb/nt4compat/usbdriver/ohci.c @@ -1342,7 +1342,7 @@ ohci_submit_urb(POHCI_DEV ehci, PUSB_DEV pdev, PUSB_ENDPOINT pendp, PURB purb) LBL_OUT2: pdev->ref_count--; - RemoveEntryList((PLIST_ENTRY) purb); + RemoveEntryList(&purb->urb_link); LBL_OUT: unlock_dev(pdev, TRUE);