xiaoxiang781216 commented on code in PR #8974:
URL: https://github.com/apache/nuttx/pull/8974#discussion_r1159313382
##########
fs/vfs/fs_rename.c:
##########
@@ -244,7 +244,7 @@ static int pseudorename(FAR const char *oldpath, FAR struct
inode *oldinode,
RELEASE_SEARCH(&newdesc);
if (subdir != NULL)
{
- kmm_free(subdir);
+ lib_free(subdir);
Review Comment:
does kernel code require to call lib_free? I suppose that only librares(e.g.
libc, mm, graphics...) which is compiled in both kernel and userspace need
call lib_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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]