GUIDINGLI commented on PR #2159: URL: https://github.com/apache/nuttx-apps/pull/2159#issuecomment-1789127391
I think there is no more suitable place to release the m_delaylist, so far. And I looked back https://github.com/apache/nuttx/pull/761/, before this PR, the delay_free_list is release in IDLE thread, and it will use mm_trylock(). But as we discuss before, we can't get lock in IDLE thread even trylock ! So, release the m_delaylist in the IDLE thread, is also a bad idle. I suggest someone call malloc then must free the m_delaylist memory, anyone -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
