You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "zyfeier (via GitHub)" <gi...@apache.org> on 2023/08/11 01:26:50 UTC

[GitHub] [nuttx] zyfeier opened a new pull request, #10162: usb: Fixed memory leak for usb uninitialize process

zyfeier opened a new pull request, #10162:
URL: https://github.com/apache/nuttx/pull/10162

   ## Summary
   
   1. a memory leak occurred when the usb uninitialize process was executed: 
   In usbclass_unbind, DEV_FREEEP is called first, and later usbclass_freereq does not free memory due to ep NULL.
   2.  composite devices are not automatically recognized by windows:
   Description bMS_VendorCode is incorrectly configured. Change it to USB_REQ_GETMSFTOSDESCRIPTOR(0xee), which is the same as the request processing logic for GET_MS_DESCRIPTOR in the code.
   
   ## Impact
   
   USB
   
   ## Testing
   
   Test for BES board


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] xiaoxiang781216 merged pull request #10162: usb: Fixed memory leak for usb uninitialize process

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #10162:
URL: https://github.com/apache/nuttx/pull/10162


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org