xiaoxiang781216 commented on code in PR #11904: URL: https://github.com/apache/nuttx/pull/11904#discussion_r1522364061
########## binfmt/binfmt_loadmodule.c: ########## @@ -194,7 +194,7 @@ int load_module(FAR struct binary_s *bin, FAR const char *filename, /* Free the allocated fullpath */ - kmm_free(fullpath); + lib_free(fullpath); Review Comment: but binfmt is called only from kernel mode, the usage should be unified to kmm_malloc/kmm_free. -- 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