From 6d81a3c8f554607158cb603cdd67f3bf195a1462 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 26 Jul 2011 17:27:57 +0000 Subject: Correct USB mass storage memory leak git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3820 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/ChangeLog | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'nuttx/ChangeLog') diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 396f3ae88..3cafb1610 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -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. \ No newline at end of file + 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. -- cgit v1.2.3