- Fix NULL pointer access in an error branch inside hub_clear_port_feature_completion(). Thanks to Christoph for testing.

svn path=/trunk/; revision=41415
This commit is contained in:
Aleksey Bragin
2009-06-15 13:30:50 +00:00
parent 29a53f8889
commit da98481109
@@ -762,10 +762,15 @@ hub_clear_port_feature_completion(PURB purb, PVOID context)
//
// do not think the device is workable, no requests to it any more.
// including the int polling
//
// usb_free_mem( purb );
//
goto LBL_SCAN_PORT_STAT;
if (purb)
usb_free_mem(purb);
if (port_idx)
hub_check_reset_port_status(pdev, port_idx);
//reinitialize the int request, here to reduce some uncertainty of concurrency
hub_start_int_request(pdev);
}
}
return;