mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Fix a reference counting error in the USB host mass storage class
This commit is contained in:
@@ -5526,4 +5526,8 @@
|
||||
transfer errors while attempt to initialize, don't bother with
|
||||
the startup retries; abort immediately so that the device will
|
||||
be reset and we can try again (2013-9-9).
|
||||
* drivers/usbhost/usbhost_storagge: Correct a reference counting
|
||||
error: When an MSC device transfer fails while waiting for
|
||||
UnitTestReady (see 2013-9-9), the reference count was not being
|
||||
decremented. The end result is a memory leak (2013-9-10).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user