xiaoxiang781216 commented on code in PR #7687: URL: https://github.com/apache/nuttx/pull/7687#discussion_r1040387537
########## drivers/video/video.c: ########## @@ -1180,9 +1202,51 @@ static int video_reqbufs(FAR struct video_mng_s *vmng, leave_critical_section(flags); + if ((ret == OK) && (reqbufs->memory == V4L2_MEMORY_MMAP)) + { + vmng->buf_count = reqbufs->count; + if (vmng->vmem_heap != NULL) + { + kmm_free(vmng->vmem_heap); Review Comment: No -- 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