binfmt/loadmodule: replace kmm_free() to lib_free()

replace kmm_free() to lib_free() unify alloc and free method

Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
chao an 2024-03-13 09:27:09 +08:00 committed by Petro Karashchenko
parent e0c18c05e8
commit 6843b26a66

View File

@ -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);
/* Break out of the loop with ret == OK on success */