Index: uspace/drv/bus/usb/xhci/hc.c
===================================================================
--- uspace/drv/bus/usb/xhci/hc.c	(revision d271f78e276e7b49876d56b941f1ed3a41b92352)
+++ uspace/drv/bus/usb/xhci/hc.c	(revision ee28ae66b6627212cd2943fb41ff87e039d3aa05)
@@ -218,13 +218,15 @@
 
 	if ((err = xhci_init_commands(hc)))
-		goto err_event_ring;
+		goto err_scratch;
 
 	if ((err = xhci_rh_init(&hc->rh)))
-		goto err_rh;
-
-	return EOK;
-
-err_rh:
+		goto err_cmd;
+
+	return EOK;
+
+err_cmd:
 	xhci_fini_commands(hc);
+err_scratch:
+	xhci_scratchpad_free(hc);
 err_event_ring:
 	xhci_event_ring_fini(&hc->event_ring);
