pussuw commented on code in PR #16361:
URL: https://github.com/apache/nuttx/pull/16361#discussion_r2086976819


##########
fs/vfs/fs_dup2.c:
##########
@@ -82,29 +81,15 @@ int file_dup3(FAR struct file *filep1, FAR struct file 
*filep2, int flags)
   inode = filep1->f_inode;
   inode_addref(inode);
 
-  /* If there is already an inode contained in the new file structure,

Review Comment:
   Can you please explain the use case how / where inode is realloced ? Is this 
solution "free without clear" still needed ?



-- 
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

Reply via email to