mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Fix potential memory leak
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3312 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -2040,9 +2040,8 @@ nuttx-5.18 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
a USB host HID keyboard configuraion.
|
||||
* drivers/usbhost/hid_parser.c -- Leverages the LUFA HID parser written by
|
||||
Dean Camera.
|
||||
* lib/lib_getopt() -- Correct an error in the getopt() logic: On certain error
|
||||
return cases, the state was not being reset correcly and incorrect behaviors
|
||||
could occur on subsequent calls to getopt().
|
||||
* examples/nsh -- Correct an usage of getopt(): If you stop calling getopt()
|
||||
before all parameters are parsed, you can leave getopt() in a strange state.
|
||||
|
||||
pascal-2.1 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user