GUIDINGLI commented on a change in pull request #4782: URL: https://github.com/apache/incubator-nuttx/pull/4782#discussion_r746213754
########## File path: mm/mm_heap/mm_free.c ########## @@ -86,6 +86,10 @@ void mm_free(FAR struct mm_heap_s *heap, FAR void *mem) kasan_poison(mem, mm_malloc_size(mem)); + /* Must not in IRQ */ + + DEBUGASSERT(!up_interrupt_context()); Review comment: Add the purpose to Summary -- 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