From e6b703c29ffc9af83f2fff3fe4905dd99a284fe7 Mon Sep 17 00:00:00 2001 From: zhangshoukui Date: Mon, 23 Sep 2024 12:42:37 +0800 Subject: [PATCH] Should call fs_putfilep put fs reference when call files_fget complete Signed-off-by: zhangshoukui --- fs/inode/fs_files.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/inode/fs_files.c b/fs/inode/fs_files.c index b26cc3aa7b..404a15a8ad 100644 --- a/fs/inode/fs_files.c +++ b/fs/inode/fs_files.c @@ -423,6 +423,7 @@ void files_dumplist(FAR struct filelist *list) , buf #endif ); + fs_putfilep(filep); } } #endif