anchao commented on code in PR #14752:
URL: https://github.com/apache/nuttx/pull/14752#discussion_r1839280963
##########
fs/mount/fs_automount.c:
##########
@@ -813,7 +813,7 @@ FAR void *automount_initialize(FAR const struct
automount_lower_s *lower)
FAR char *devpath = lib_get_pathbuffer();
if (devpath == NULL)
{
- return;
+ return NULL;
Review Comment:
memory leak on line 828, please check the lifecycle of path buffer in all
spaces for this feature
--
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]