mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Correct USB mass storage memory leak
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3820 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1944,4 +1944,11 @@
|
||||
Distribution Format (BDF) into fonts that can be used in the NX graphics
|
||||
system.
|
||||
* include/nuttx/nx: Move all NX header files from include/nuttx to
|
||||
include/nuttx/nx.
|
||||
include/nuttx/nx.
|
||||
* drivers/usbdev/usbdev_usbstorage.c and arch/arm/src/stm32/stm32_usbdev.c:
|
||||
Correct a memory leak when the USB mass storage driver is connected and
|
||||
then disconnected from the target. The write requests were not being
|
||||
freed. NOTE that the unregister logic in the STM32 needed to call
|
||||
stm32_reset() in order to return the write requests to the USB mass
|
||||
storage driver; it is possible that a similar but could exist for other
|
||||
architectures.
|
||||
|
||||
Reference in New Issue
Block a user