mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +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:
@@ -42,7 +42,7 @@ apps/
|
||||
|
||||
(5) Network Utilities (apps/netutils/)
|
||||
(5) NuttShell (NSH) (apps/nshlib)
|
||||
(6) Other Applications & Tests (apps/examples/)
|
||||
(5) Other Applications & Tests (apps/examples/)
|
||||
|
||||
o Task/Scheduler (sched/)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1318,26 +1318,3 @@ o Other Applications & Tests (apps/examples/)
|
||||
the artifact is larger.
|
||||
Status: Open
|
||||
Priority: Medium.
|
||||
|
||||
Description: USB Mass Storage Memory Leak. When examples/usbstorage is
|
||||
built as an NuttShell (NSH) built-in, there appears to be a
|
||||
memory leak that occurs when a USB mass storage connection is
|
||||
established and then torn down. This leak is 608 bytes each
|
||||
time:
|
||||
|
||||
NuttShell (NSH) NuttX-6.6
|
||||
nsh> free
|
||||
total used free largest
|
||||
Mem: 59360 9536 49824 49824
|
||||
nsh> msconn
|
||||
total used free largest
|
||||
Mem: 59360 15296 44064 41712
|
||||
nsh> msdis
|
||||
nsh> free
|
||||
total used free largest
|
||||
Mem: 59360 10144 49216 41712 <-- Leaked 608 bytes
|
||||
Status: Open
|
||||
Priority: Medium. Obviously, this must be fixed. However the USB
|
||||
Mass storage example is fine for supporting most development
|
||||
needs even thought it does leak.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user