Index: drivers/usb/usbhub/fdo.c =================================================================== --- drivers/usb/usbhub/fdo.c (revision 71259) +++ drivers/usb/usbhub/fdo.c (working copy) @@ -1039,6 +1039,7 @@ if (UsbChildExtension->usInstanceId.Buffer == NULL) { DPRINT1("Error: failed to allocate %lu bytes\n", Index * sizeof(WCHAR)); + ExFreePool(SerialBuffer); return STATUS_INSUFFICIENT_RESOURCES; }