Ouss4 commented on pull request #4782:
URL: https://github.com/apache/incubator-nuttx/pull/4782#issuecomment-961748337


   This will actually make the `free` part succeed, and we will be freeing 
memory if we successfully get the lock on the first try. `malloc` in the other 
hand only `DEBUGVERIFY` the check, when debug options are disabled we are then 
allocating memory and possibly without holding the lock?


-- 
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-unsubscr...@nuttx.apache.org

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


Reply via email to